1
0
mirror of https://gitee.com/zoujingli/ThinkAdmin.git synced 2025-04-06 03:58:04 +08:00

Update Transfer.php

This commit is contained in:
邹景立 2021-03-17 15:23:33 +08:00
parent f712e88a21
commit ccd1524650

@ -31,6 +31,7 @@ class Transfer extends Auth
$data = $this->_vali([
'type.require' => '提现方式不能为空!',
'amount.require' => '提现金额不能为空!',
'remark.default' => '用户提交提现申请!',
]);
$state = UserTransferService::instance()->config('status');
if (empty($state)) $this->error('提现还没有开启!');