正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -88,7 +88,7 @@ class OrderController extends HomeBaseController{ | @@ -88,7 +88,7 @@ class OrderController extends HomeBaseController{ | ||
88 | Db::name('users')->where('id',$users_id)->update(['is_use'=>0]); | 88 | Db::name('users')->where('id',$users_id)->update(['is_use'=>0]); |
89 | Db::name('equipment')->where('name',$name)->update(['use'=>0]); | 89 | Db::name('equipment')->where('name',$name)->update(['use'=>0]); |
90 | Db::name('order')->where('order_no',$order['order_no'])->update($data); | 90 | Db::name('order')->where('order_no',$order['order_no'])->update($data); |
91 | - $this->apiResponse(200,'success',$name); | 91 | + |
92 | // }catch (\Exception $exception){ | 92 | // }catch (\Exception $exception){ |
93 | // Db::rollback(); | 93 | // Db::rollback(); |
94 | // $data=[ | 94 | // $data=[ |
@@ -112,7 +112,7 @@ class OrderController extends HomeBaseController{ | @@ -112,7 +112,7 @@ class OrderController extends HomeBaseController{ | ||
112 | $this->apiResponse(200,'success',$data); | 112 | $this->apiResponse(200,'success',$data); |
113 | } | 113 | } |
114 | // $this->pay($order['order_no']); | 114 | // $this->pay($order['order_no']); |
115 | - | 115 | + $this->apiResponse(200,'success','订单进入待支付'); |
116 | } | 116 | } |
117 | 117 | ||
118 | 118 |
-
请 注册 或 登录 后发表评论