正在显示
2 个修改的文件
包含
5 行增加
和
2 行删除
@@ -167,7 +167,8 @@ class OrderController extends HomeBaseController | @@ -167,7 +167,8 @@ class OrderController extends HomeBaseController | ||
167 | $this->success('微信支付', url('user/Center/orderDetail', ['oid' => $oid]), $this->wxPay($info)); | 167 | $this->success('微信支付', url('user/Center/orderDetail', ['oid' => $oid]), $this->wxPay($info)); |
168 | } //支付宝支付 | 168 | } //支付宝支付 |
169 | elseif ($data['payment'] == 2) { | 169 | elseif ($data['payment'] == 2) { |
170 | - $this->alipay('201810182015', '购买', 0.01, '商品'); | 170 | + echo json_encode(['msg'=>'支付宝', 'url'=>url('order/Order/alipay',['oid'=>$oid]), 'code'=>20000]); |
171 | + exit(); | ||
171 | } //余额支付 | 172 | } //余额支付 |
172 | elseif ($data['payment'] == 0) { | 173 | elseif ($data['payment'] == 0) { |
173 | $model = new OrderModel; | 174 | $model = new OrderModel; |
-
请 注册 或 登录 后发表评论