2
This commit is contained in:
parent
47131b0ad9
commit
4545359713
@ -284,7 +284,7 @@ func (r *DoctorConfigFollowPackageService) AddDoctorFollow(req requests.AddDocto
|
||||
return false, errors.New("服务价格只允许设置在10-9999范围内")
|
||||
}
|
||||
|
||||
if item.ServicePrice != 30 && item.ServicePrice != 90 && item.ServicePrice != 180 && item.ServicePrice != 360 {
|
||||
if item.ServicePeriod != 30 && item.ServicePeriod != 90 && item.ServicePeriod != 180 && item.ServicePeriod != 360 {
|
||||
tx.Rollback()
|
||||
return false, errors.New("服务周期错误")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user