作者 潘浩文
1 个管道 的构建 通过 耗费 1 秒

XIAOPAN

@@ -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