...
|
...
|
@@ -146,7 +146,7 @@ class Order extends Api |
|
|
// 发起微信支付
|
|
|
$Wechat = new Wechat;
|
|
|
$order['order_price'] = 0.01;//测试金额
|
|
|
if(!$payment = $Wechat->wxPay($model['order_no'], $this->user['openid'], $order['order_price']);){
|
|
|
if(!$payment = $Wechat->wxPay($model['order_no'], $this->user['openid'], $order['order_price'])){
|
|
|
$this->error($Wechat->getError());
|
|
|
}
|
|
|
$this->success(__('订单支付成功'),[
|
...
|
...
|
|