1
This commit is contained in:
@@ -1457,7 +1457,7 @@ func (r *UserDoctorService) PutMulti(doctorId int64, req requests.PutMulti) (boo
|
||||
userCaCert, _ := userCaCertDao.GetUserCaCert(maps)
|
||||
if userCaCert == nil {
|
||||
// 申请云证书
|
||||
_, err = userCaCertService.GetUserCloudCert(tx, userDoctor.UserId)
|
||||
_, err = userCaCertService.AddUserCloudCert(tx, userDoctor.UserId)
|
||||
if err != nil {
|
||||
tx.Rollback()
|
||||
return false, errors.New(err.Error())
|
||||
|
||||
Reference in New Issue
Block a user