This commit is contained in:
wucongxing8150 2024-08-22 10:16:28 +08:00
parent 6924f53caf
commit 6b666c3928

View File

@ -31,7 +31,7 @@ func GetUserInfoDto(m *model.UserInfo) *UserInfoDto {
return &UserInfoDto{
UserInfoId: fmt.Sprintf("%d", m.UserInfoId),
UserId: fmt.Sprintf("%d", m.UserInfoId),
NationId: fmt.Sprintf("%d", m.NationId),
NationId: fmt.Sprintf("%d", *m.NationId),
IsFamilyHistory: m.IsFamilyHistory,
IsPregnant: m.IsPregnant,
ProvinceId: m.ProvinceId,