Explorar o código

Merge remote-tracking branch 'origin/develop' into develop

Unknown %!s(int64=6) %!d(string=hai) anos
pai
achega
fb78df6a06
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/V1/ShopController.php

+ 1 - 1
app/Http/Controllers/V1/ShopController.php

@@ -29,7 +29,7 @@ class ShopController extends Controller {
         }
         $res['data']  = Shop::where('shop_id',$data['id'])->first();
         if($res){
-            return $this->jsonSuccess(['data'=>$res]);
+            return $this->jsonSuccess($res);
         }else{
             return $this->jsonError('获取失败');
         }