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

XIAOPAN

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