作者 潘浩文

XIAOPAN

@@ -481,6 +481,7 @@ class UsersController extends HomeBaseController{ @@ -481,6 +481,7 @@ class UsersController extends HomeBaseController{
481 } 481 }
482 $app = new Application($this->options); 482 $app = new Application($this->options);
483 $merchantPay = $app->merchant_pay; 483 $merchantPay = $app->merchant_pay;
  484 +
484 $merchantPayData = [ 485 $merchantPayData = [
485 'partner_trade_no' => $order_sn, //随机字符串作为订单号,跟红包和支付一个概念。 486 'partner_trade_no' => $order_sn, //随机字符串作为订单号,跟红包和支付一个概念。
486 'openid' => $user['open_id'], //收款人的openid 487 'openid' => $user['open_id'], //收款人的openid