ソースを参照

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

xupuyuan 8 ヶ月 前
コミット
6187aa264f
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  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
-        $mer_list = $query->page($page)->limit($limit)->select();
235
-        return app('json')->success(['list'=>$mer_list]);
234
+        return app('json')->success(['list'=>$hasProductMerIdList]);
235
+//        $mer_list = $query->page($page)->limit($limit)->select();
236 236
 //        $where['is_gift_bag'] = 0;
237 237
 //        $where['is_used'] = 1;
238 238
 //        $where['product_type'] = 0;