Commit 47457d55 authored by 董先生's avatar 董先生

sousuo

parent 8b30b8d2
...@@ -171,6 +171,10 @@ class Users extends Api ...@@ -171,6 +171,10 @@ class Users extends Api
if ($userinfo['equity'] > 0) { if ($userinfo['equity'] > 0) {
$userinfo['shareholder'] = 1; $userinfo['shareholder'] = 1;
} }
$userinfo['withdraw_rule1'] = '1、每日提现审核服务时间【10:00-15:00】';
$userinfo['withdraw_rule2'] = '2、单个账户日提现金额不超过5000元,单笔提现金额不超过500元(整数提现)';
$userinfo['withdraw_rule3'] = '3、单笔提现手续费1%';
$this->success('获取用户信息成功', ['userinfo' => $userinfo, 'shareholder' => $userinfo['shareholder']]); $this->success('获取用户信息成功', ['userinfo' => $userinfo, 'shareholder' => $userinfo['shareholder']]);
} }
...@@ -275,8 +279,8 @@ class Users extends Api ...@@ -275,8 +279,8 @@ class Users extends Api
$this->error("输入金额不可大于钱包金额"); $this->error("输入金额不可大于钱包金额");
} }
$withdrawcount = Withdraw::where(['user_id' => $user_id, 'status' => ['neq', -1]])->whereTime('start_time', 'today')->count(); $withdrawcount = Withdraw::where(['user_id' => $user_id, 'status' => ['neq', -1]])->whereTime('start_time', 'today')->count();
if ($withdrawcount >= 20) { if ($withdrawcount >= 10) {
$this->error("每天提现不能超过20次"); $this->error("每天提现不能超过10次");
} }
$data = [ $data = [
'cash_sn' => getOrdersn('withdraw'), 'cash_sn' => getOrdersn('withdraw'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment