...
|
...
|
@@ -87,8 +87,8 @@ class OrderController extends HomeBaseController{ |
|
|
// Db::startTrans();
|
|
|
Db::name('users')->where('id',$users_id)->update(['is_use'=>0]);
|
|
|
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);
|
|
|
$this->apiResponse(200,'success',$name);
|
|
|
// }catch (\Exception $exception){
|
|
|
// Db::rollback();
|
|
|
// $data=[
|
...
|
...
|
|