diff --git a/app/Request/UserPatientRequest.php b/app/Request/UserPatientRequest.php index e78464a..3618d1c 100644 --- a/app/Request/UserPatientRequest.php +++ b/app/Request/UserPatientRequest.php @@ -33,7 +33,7 @@ class UserPatientRequest extends FormRequest public function rules(): array { return [ - 'user_coupon_status' => 'required|numeric|min:0|max:2', + 'user_coupon_status' => 'required|numeric|min:0|max:3', 'product_id' => 'required', 'shopping_cart_num' => 'required|numeric|min:0|max:999', ]; diff --git a/app/Services/DoctorAuthService.php b/app/Services/DoctorAuthService.php index 66cfcd5..8e71835 100644 --- a/app/Services/DoctorAuthService.php +++ b/app/Services/DoctorAuthService.php @@ -243,7 +243,7 @@ class DoctorAuthService extends BaseService 'department_custom_id', 'department_custom_name', 'department_custom_mobile', - 'doctor_title_id', + 'doctor_title', 'brief_introduction', 'be_good_at', ];