...
|
...
|
@@ -106,7 +106,7 @@ class Withdraw extends Backend |
|
|
// 发起企业付款
|
|
|
$Wechat = new Wechat;
|
|
|
$openid = Db::name('third')->where('user_id',$row->user_id)->value('openid');
|
|
|
if(!$balance = $Wechat->toBalance($row['order_sn'], $openid, $row['money'])){
|
|
|
if(!$balance = $Wechat->toBalance($row['order_sn'], $openid, $row['money'] * 100)){
|
|
|
$this->error($Wechat->getError());
|
|
|
}
|
|
|
// 记录企业付款单号
|
...
|
...
|
|