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

XIAOPAN

... ... @@ -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','订单进入待支付');
}
... ...