From 592a5e97dc58afab0e484f257e75f9ce91cb917e Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 4 May 2023 13:43:56 +0800 Subject: [PATCH] 1 --- app/Request/UserPatientRequest.php | 2 +- app/Services/DoctorAuthService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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', ];