This commit is contained in:
wucongxing 2023-10-13 15:32:13 +08:00
parent d281d2a702
commit 61d3fa2afb

View File

@ -35,9 +35,6 @@ type UserDoctorDto struct {
AvgResponseTime float64 `json:"avg_response_time"` // 平均响应时间(分钟制) AvgResponseTime float64 `json:"avg_response_time"` // 平均响应时间(分钟制)
NumberOfFans uint `json:"number_of_fans"` // 被关注数量 NumberOfFans uint `json:"number_of_fans"` // 被关注数量
IsOnline int `json:"is_online"` // 是否在线0:不在线 1:在线) IsOnline int `json:"is_online"` // 是否在线0:不在线 1:在线)
IsImgExpertReception int `json:"is_img_expert_reception"` // 是否参加专家图文接诊0:否 1:是)
IsImgWelfareReception int `json:"is_img_welfare_reception"` // 是否参加公益图文问诊0:否 1:是)
IsImgQuickReception int `json:"is_img_quick_reception"` // 是否参加快速图文接诊0:否 1:是)
IsPlatformDeepCooperation int `json:"is_platform_deep_cooperation"` // 是否平台深度合作医生0:否 1:是) IsPlatformDeepCooperation int `json:"is_platform_deep_cooperation"` // 是否平台深度合作医生0:否 1:是)
IsEnterpriseDeepCooperation int `json:"is_enterprise_deep_cooperation"` // 是否企业深度合作医生0:否 1:是) IsEnterpriseDeepCooperation int `json:"is_enterprise_deep_cooperation"` // 是否企业深度合作医生0:否 1:是)
IsSysDiagnoCooperation int `json:"is_sys_diagno_cooperation"` // 是否先思达合作医生0:否 1:是) IsSysDiagnoCooperation int `json:"is_sys_diagno_cooperation"` // 是否先思达合作医生0:否 1:是)
@ -113,9 +110,6 @@ func GetUserDoctorDto(m *model.UserDoctor) *UserDoctorDto {
PraiseRate: m.PraiseRate, PraiseRate: m.PraiseRate,
AvgResponseTime: m.AvgResponseTime, AvgResponseTime: m.AvgResponseTime,
NumberOfFans: m.NumberOfFans, NumberOfFans: m.NumberOfFans,
IsImgExpertReception: m.IsImgExpertReception,
IsImgWelfareReception: m.IsImgWelfareReception,
IsImgQuickReception: m.IsImgQuickReception,
IsPlatformDeepCooperation: m.IsPlatformDeepCooperation, IsPlatformDeepCooperation: m.IsPlatformDeepCooperation,
IsSysDiagnoCooperation: m.IsSysDiagnoCooperation, IsSysDiagnoCooperation: m.IsSysDiagnoCooperation,
QrCode: utils.AddOssDomain(m.QrCode), QrCode: utils.AddOssDomain(m.QrCode),
@ -155,9 +149,6 @@ func GetUserDoctorListDto(m []*model.UserDoctor) []*UserDoctorDto {
PraiseRate: v.PraiseRate, PraiseRate: v.PraiseRate,
AvgResponseTime: v.AvgResponseTime, AvgResponseTime: v.AvgResponseTime,
NumberOfFans: v.NumberOfFans, NumberOfFans: v.NumberOfFans,
IsImgExpertReception: v.IsImgExpertReception,
IsImgWelfareReception: v.IsImgWelfareReception,
IsImgQuickReception: v.IsImgQuickReception,
IsPlatformDeepCooperation: v.IsPlatformDeepCooperation, IsPlatformDeepCooperation: v.IsPlatformDeepCooperation,
CreatedAt: v.CreatedAt, CreatedAt: v.CreatedAt,
UpdatedAt: v.UpdatedAt, UpdatedAt: v.UpdatedAt,