修改 处理科室问题-更新云证书
This commit is contained in:
parent
85c2cc8d56
commit
dd07d64536
@ -607,7 +607,7 @@ func (r *UserDoctorService) PutUserDoctor(doctorId int64, req requests.PutUserDo
|
|||||||
if userDoctor.IdenAuthStatus == 1 {
|
if userDoctor.IdenAuthStatus == 1 {
|
||||||
// 更新云证书
|
// 更新云证书
|
||||||
userCaCertService := UserCaCertService{}
|
userCaCertService := UserCaCertService{}
|
||||||
_, err = userCaCertService.RenewUserCloudCert(tx, userDoctor.UserId)
|
_, err = userCaCertService.EditUserCloudCert(tx, userDoctor.UserId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
tx.Rollback()
|
tx.Rollback()
|
||||||
return false, errors.New(err.Error())
|
return false, errors.New(err.Error())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user