新增禁用理由
This commit is contained in:
parent
efde711eaa
commit
aedf61c31b
@ -30,6 +30,7 @@ type GetUserPatient struct {
|
||||
Status *int `json:"status"` // 状态(0:禁用 1:正常 2:删除)
|
||||
Avatar string `json:"avatar"` // 头像
|
||||
Mobile string `json:"mobile"` // 手机号
|
||||
DisableReason string `json:"disable_reason"` // 禁用理由
|
||||
PatientFamily []*patientFamilyResponse.GetUserPatient `json:"patient_family"` // 家庭成员
|
||||
UserShipAddress []*userShipAddressResponse.UserShipAddress `json:"user_ship_address"` // 收货地址
|
||||
CreatedAt model.LocalTime `json:"created_at"` // 创建时间
|
||||
|
||||
@ -50,6 +50,7 @@ func (r *UserPatientService) GetUserPatient(patientId int64) (getUserPatientResp
|
||||
Status: &userPatient.Status,
|
||||
Avatar: utils.AddOssDomain(userPatient.Avatar),
|
||||
Mobile: user.Mobile,
|
||||
DisableReason: userPatient.DisableReason,
|
||||
PatientFamily: patientFamilysResponse,
|
||||
UserShipAddress: userShipAddress,
|
||||
CreatedAt: userPatient.CreatedAt,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user