...
|
...
|
@@ -612,7 +612,7 @@ class OrderController extends HomeBaseController{ |
|
|
Db::name('order')->where('id',$order['id'])->update(['group_money'=>($order['price']-$user['fee'])]);
|
|
|
$body = '支付';
|
|
|
$notify_url = url('order/group', '', '', true);//回调地址
|
|
|
$out_trade_no = $order['order_no'];
|
|
|
$out_trade_no = $order['order_no'] . $this->create_noncestr(4);
|
|
|
$wxPay = new WeixinPay($user['open_id'], $out_trade_no, $body, ($order['price']-$user['fee'])*100, $notify_url);
|
|
|
$pay = $wxPay->pay();
|
|
|
if (isset($pay['package'])) {
|
...
|
...
|
|