Browse Source

Merge branch 'develop' of http://git.caihongxingqiu.net/rainbow/shop-service into develop

zhangchangchun 6 years ago
parent
commit
d9e10a637c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/V1/ShopController.php

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

@@ -48,7 +48,7 @@ class ShopController extends Controller {
             return $this->jsonError($validator->errors()->first());
             return $this->jsonError($validator->errors()->first());
         }
         }
 
 
-        $shop = Shop::whereIn('shop_id',explode(',',$data['ids']))->where('status',0)->pluck('shop_name','shop_id');
+        $shop = Shop::whereIn('shop_id',explode(',',$data['ids']))->where('status',1)->pluck('shop_name','shop_id');
         if($shop){
         if($shop){
             return $this->jsonSuccess($shop);
             return $this->jsonSuccess($shop);
         }else{
         }else{