作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

修改语法错误

... ... @@ -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(__('订单支付成功'),[
... ...