作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

提现

... ... @@ -116,6 +116,8 @@ class UserMoneyLogAudit extends Backend
//审核通过
$user = Db::name('user')->where(['id'=>$row['user_id']])->find();
$third = Db::name('third')->where(['user_id'=>$row['user_id']])->find();
dump($user);
dump($third);
//红包券充值比例
$exp_ratio = Db::name('exp_ratio')->where(['id'=>1])->find();
$withdraw = $this->merchantPay($third['openid'],$user['nickname'],$row['money']*$exp_ratio['ratio']*0.01,'商户提现');
... ...