Merge branch 'dev'
This commit is contained in:
commit
c1b58d4d97
@ -117,8 +117,8 @@ func (r *DoctorConfigHealthPackageService) PutDoctorHealth(healthPackageId int64
|
|||||||
maps["inquiry_mode"] = 1
|
maps["inquiry_mode"] = 1
|
||||||
|
|
||||||
doctorInquiryConfigDao := dao.DoctorInquiryConfigDao{}
|
doctorInquiryConfigDao := dao.DoctorInquiryConfigDao{}
|
||||||
_, err := doctorInquiryConfigDao.GetDoctorInquiryConfig(maps)
|
doctorInquiryConfig, _ := doctorInquiryConfigDao.GetDoctorInquiryConfig(maps)
|
||||||
if err != nil && req.IsEnable == 1 {
|
if doctorInquiryConfig == nil && req.IsEnable == 1 {
|
||||||
return false, errors.New("本服务需设置图文问诊的价格,才可开启")
|
return false, errors.New("本服务需设置图文问诊的价格,才可开启")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user