正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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, $price-$user['fee'], $notify_url); | 625 | + $wxPay = new WeixinPay($user['open_id'], $out_trade_no, $body, $order['price']-$user['fee'], $notify_url); |
626 | $pay = $wxPay->pay(); | 626 | $pay = $wxPay->pay(); |
627 | if (isset($pay['package'])) { | 627 | if (isset($pay['package'])) { |
628 | $data = [ | 628 | $data = [ |
-
请 注册 或 登录 后发表评论