...
|
...
|
@@ -86,8 +86,8 @@ class OrderController extends HomeBaseController{ |
|
|
// try{
|
|
|
// Db::startTrans();
|
|
|
Db::name('users')->where('id',$users_id)->update(['is_use'=>0]);
|
|
|
$this->apiResponse(200,'success',$name);
|
|
|
Db::name('equipment')->where('name',$name)->update(['use'=>0]);
|
|
|
$this->apiResponse(200,'success',$name);
|
|
|
Db::name('order')->where('order_no',$order['order_no'])->update($data);
|
|
|
// }catch (\Exception $exception){
|
|
|
// Db::rollback();
|
...
|
...
|
|