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

提现

... ... @@ -119,10 +119,11 @@ class UserMoneyLogAudit extends Backend
//红包券充值比例
$exp_ratio = Db::name('exp_ratio')->where(['id'=>1])->find();
$withdraw = $this->merchantPay($third['openid'],$user['nickname'],$row['money']*$exp_ratio['ratio']*0.01,'商户提现');
dump($withdraw);
if($withdraw['return_code'] == 'SUCCESS') {
if ($withdraw['result_code'] == 'SUCCESS') {
// 提现成功,将余额扣除
dump($withdraw);
}
}
}
... ...