Преглед изворни кода

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

xupuyuan пре 8 месеци
родитељ
комит
9dd636c6e5
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      app/controller/api/store/merchant/Merchant.php

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

@@ -228,6 +228,8 @@ class Merchant extends BaseController
228 228
             $hasProductMerIdList = array_column($hasProductMerIdList->toArray(), 'mer_id');
229 229
         }
230 230
         $query = Db::name('merchant')->where($where);
231
+        $page = 1;
232
+        $limit = 100;
231 233
         if (!empty($hasProductMerIdList) && is_array($hasProductMerIdList)) {
232 234
             $query->whereIn('mer_id', $hasProductMerIdList);
233 235
         }