ソースを参照

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

xupuyuan 8 ヶ月 前
コミット
cf00877d3e
共有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
         if (!empty($hasProductMerIdList) && is_array($hasProductMerIdList)) {
231
         if (!empty($hasProductMerIdList) && is_array($hasProductMerIdList)) {
232
             $query->whereIn('mer_id', $hasProductMerIdList);
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
 //        $where['is_gift_bag'] = 0;
236
 //        $where['is_gift_bag'] = 0;
237
 //        $where['is_used'] = 1;
237
 //        $where['is_used'] = 1;
238
 //        $where['product_type'] = 0;
238
 //        $where['product_type'] = 0;