...
|
...
|
@@ -88,7 +88,7 @@ class OrderController extends HomeBaseController{ |
|
|
Db::name('users')->where('id',$users_id)->update(['is_use'=>0]);
|
|
|
Db::name('equipment')->where('name',$name)->update(['use'=>0]);
|
|
|
Db::name('order')->where('order_no',$order['order_no'])->update($data);
|
|
|
$this->apiResponse(200,'success',$name);
|
|
|
|
|
|
// }catch (\Exception $exception){
|
|
|
// Db::rollback();
|
|
|
// $data=[
|
...
|
...
|
@@ -112,7 +112,7 @@ class OrderController extends HomeBaseController{ |
|
|
$this->apiResponse(200,'success',$data);
|
|
|
}
|
|
|
// $this->pay($order['order_no']);
|
|
|
|
|
|
$this->apiResponse(200,'success','订单进入待支付');
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|