修改提现
This commit is contained in:
parent
8406551ce1
commit
dc11a67c8b
@ -350,7 +350,7 @@ class DoctorAccountService extends BaseService
|
|||||||
$end_time = date('Y-m-t 24:00:00',time());
|
$end_time = date('Y-m-t 24:00:00',time());
|
||||||
$created_at = [$start_time,$end_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)){
|
if (!empty($doctor_withdrawal)){
|
||||||
return fail("每月只允许提现一次");
|
return fail("每月只允许提现一次");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user