修改地址数据int为string

This commit is contained in:
2024-08-23 13:39:05 +08:00
parent 04b6469827
commit c3d4333220
4 changed files with 37 additions and 34 deletions
+3 -3
View File
@@ -16,11 +16,11 @@ type UserInfoDto struct {
IsFamilyHistory *int `json:"is_family_history"` // 是否存在家族病史(0:未知 1:是 2:否)
IsPregnant *int `json:"is_pregnant"` // 是否怀孕(1:无计划 2:计划中 3:已怀孕 4:家有宝宝)
ExpectedDate *string `json:"expected_date"` // 预产期
ProvinceId *int64 `json:"province_id"` // 省份id
ProvinceId string `json:"province_id"` // 省份id
Province string `json:"province"` // 省份
CityId *int64 `json:"city_id"` // 城市id
CityId string `json:"city_id"` // 城市id
City string `json:"city"` // 城市
CountyId *int64 `json:"county_id"` // 区县id
CountyId string `json:"county_id"` // 区县id
County string `json:"county"` // 区县
CreatedAt model.LocalTime `json:"created_at"` // 创建时间
UpdatedAt model.LocalTime `json:"updated_at"` // 更新时间