Procházet zdrojové kódy

小程序app-商贸区-检测问题

xupuyuan před 8 měsíci
rodič
revize
de34375b69
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      app/controller/api/store/merchant/Merchant.php

+ 2 - 2
app/controller/api/store/merchant/Merchant.php

@@ -231,8 +231,8 @@ class Merchant extends BaseController
231 231
         if (!empty($hasProductMerIdList) && is_array($hasProductMerIdList)) {
232 232
             $query->whereIn('mer_id', $hasProductMerIdList);
233 233
         }
234
-        return app('json')->success(['list'=>$hasProductMerIdList]);
235
-//        $mer_list = $query->page($page)->limit($limit)->select();
234
+        $mer_list = $query->page($page)->limit($limit)->select();
235
+        return app('json')->success(['list'=>$mer_list]);
236 236
 //        $where['is_gift_bag'] = 0;
237 237
 //        $where['is_used'] = 1;
238 238
 //        $where['product_type'] = 0;