作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

XIAOPAN

@@ -622,7 +622,7 @@ class OrderController extends HomeBaseController{ @@ -622,7 +622,7 @@ class OrderController extends HomeBaseController{
622 $body = '支付'; 622 $body = '支付';
623 $notify_url = url('order/group', '', '', true);//回调地址 623 $notify_url = url('order/group', '', '', true);//回调地址
624 $out_trade_no = $param['order_no'] . $this->create_noncestr(4); 624 $out_trade_no = $param['order_no'] . $this->create_noncestr(4);
625 - $wxPay = new WeixinPay($user['open_id'], $out_trade_no, $body, $order['price']-$user['fee'], $notify_url); 625 + $wxPay = new WeixinPay($user['open_id'], $out_trade_no, $body, ($order['price']-$user['fee'])*100, $notify_url);
626 $pay = $wxPay->pay(); 626 $pay = $wxPay->pay();
627 if (isset($pay['package'])) { 627 if (isset($pay['package'])) {
628 $data = [ 628 $data = [