This commit is contained in:
wucongxing8150 2024-06-07 17:19:18 +08:00
parent c00052ae62
commit 47131b0ad9

View File

@ -186,7 +186,7 @@ func (r *DoctorConfigFollowPackageService) PutDoctorFollow(followPackageId int64
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("服务周期错误")
}