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

提现

@@ -119,10 +119,11 @@ class UserMoneyLogAudit extends Backend @@ -119,10 +119,11 @@ class UserMoneyLogAudit extends Backend
119 //红包券充值比例 119 //红包券充值比例
120 $exp_ratio = Db::name('exp_ratio')->where(['id'=>1])->find(); 120 $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,'商户提现'); 121 $withdraw = $this->merchantPay($third['openid'],$user['nickname'],$row['money']*$exp_ratio['ratio']*0.01,'商户提现');
  122 + dump($withdraw);
122 if($withdraw['return_code'] == 'SUCCESS') { 123 if($withdraw['return_code'] == 'SUCCESS') {
123 if ($withdraw['result_code'] == 'SUCCESS') { 124 if ($withdraw['result_code'] == 'SUCCESS') {
124 // 提现成功,将余额扣除 125 // 提现成功,将余额扣除
125 - dump($withdraw); 126 +
126 } 127 }
127 } 128 }
128 } 129 }