diff --git a/app/Services/DoctorAccountService.php b/app/Services/DoctorAccountService.php index b10068e..15f5f91 100644 --- a/app/Services/DoctorAccountService.php +++ b/app/Services/DoctorAccountService.php @@ -350,7 +350,7 @@ class DoctorAccountService extends BaseService $end_time = date('Y-m-t 24:00:00',time()); $created_at = [$start_time,$end_time]; - $doctor_withdrawal = DoctorWithdrawal::getOneLatestTime($params,['*'],$created_at); + $doctor_withdrawal = DoctorWithdrawal::getOneLatestTime($params,$created_at,['*'],); if (!empty($doctor_withdrawal)){ return fail("每月只允许提现一次"); }