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

提现

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