浏览代码

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

Unknown 6 年之前
父节点
当前提交
fb78df6a06
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();
         $res['data']  = Shop::where('shop_id',$data['id'])->first();
         if($res){
         if($res){
-            return $this->jsonSuccess(['data'=>$res]);
+            return $this->jsonSuccess($res);
         }else{
         }else{
             return $this->jsonError('获取失败');
             return $this->jsonError('获取失败');
         }
         }