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

XIAOPAN

@@ -83,7 +83,7 @@ class OrderController extends HomeBaseController{ @@ -83,7 +83,7 @@ class OrderController extends HomeBaseController{
83 'price' => $price, 83 'price' => $price,
84 'state' => 2 84 'state' => 2
85 ]; 85 ];
86 - $this->apiResponse(200,'success',$order); 86 + $this->apiResponse(200,'success',$price);
87 try{ 87 try{
88 Db::startTrans(); 88 Db::startTrans();
89 Db::name('users')->where('id',$users_id)->update(['is_use'=>0]); 89 Db::name('users')->where('id',$users_id)->update(['is_use'=>0]);