新增搜索医生参数问题
This commit is contained in:
parent
b412477670
commit
69e7cd2440
@ -359,7 +359,7 @@ func (r *UserDoctorService) PutUserDoctor(doctorId int64, putUserDoctorRequest r
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 修改医生数据
|
// 修改用户数据
|
||||||
if len(userDoctorData) != 0 {
|
if len(userDoctorData) != 0 {
|
||||||
err = userDao.EditUserById(tx, userDoctor.UserId, userData)
|
err = userDao.EditUserById(tx, userDoctor.UserId, userData)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -1151,9 +1151,10 @@ func (r *UserDoctorService) PutUserDoctorPending(doctorId int64, req requests.Pu
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Tag: "Tag_Profile_Custom_Title", // 职称
|
Tag: "Tag_Profile_Custom_Title", // 职称
|
||||||
Value: hospital.HospitalName,
|
Value: strconv.Itoa(userDoctor.DoctorTitle),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
res, err := tencentIm.SetProfile(strconv.FormatInt(userDoctor.UserId, 10), profileItem)
|
res, err := tencentIm.SetProfile(strconv.FormatInt(userDoctor.UserId, 10), profileItem)
|
||||||
if err != nil || res != true {
|
if err != nil || res != true {
|
||||||
tx.Rollback()
|
tx.Rollback()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user