update:公司提现改造,app端新增用户当前可提现金额接口,后台新增提现审核接口,根据周期内可提现金额做扣除公司金额和用户金额。
This commit is contained in:
parent
deb4b80b74
commit
a7c5bd3390
@ -46,9 +46,6 @@ class WithdrawController extends BaseAdminController
|
||||
{
|
||||
try {
|
||||
$params = $this->request->param();
|
||||
if (empty($params['transfer_voucher'])) {
|
||||
return $this->fail('请上传转账凭证');
|
||||
}
|
||||
$re = WithdrawLogic::audit($params);
|
||||
if (!$re) {
|
||||
return $this->fail(WithdrawLogic::getError());
|
||||
|
@ -47,6 +47,10 @@ class WithdrawLogic extends BaseLogic
|
||||
return true;
|
||||
}
|
||||
|
||||
if (empty($params['transfer_voucher'])) {
|
||||
throw new Exception('请上传转账凭证');
|
||||
}
|
||||
|
||||
Db::startTrans();
|
||||
$endCycle = $withDrawInfo['transfer_end_cycel']; // 提现周期截止时间戳
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user