...
|
...
|
@@ -229,6 +229,7 @@ class OrderController extends HomeBaseController{ |
|
|
$price=$order['price'];//订单价格
|
|
|
$notify_url=url('order/notify','','',true);//回调地址
|
|
|
$out_trade_no=$order_no.$this->create_noncestr(4);
|
|
|
dump($out_trade_no);
|
|
|
$wxPay=new WeixinPay($openId,$out_trade_no,$body,$price,$notify_url);
|
|
|
$pay=$wxPay->pay();
|
|
|
if (isset($pay['package'])){
|
...
|
...
|
|