Sfoglia il codice sorgente

Merge branch 'master' of e.coding.net:zdap/weixiu/weixiu_api

liugc 1 anno fa
parent
commit
c5eb924fed
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      app/api/lists/HomeSpecialLists.php

+ 3 - 1
app/api/lists/HomeSpecialLists.php

@@ -33,7 +33,9 @@ class HomeSpecialLists  extends BaseApiDataLists implements ListsSearchInterface
     {
         $where = [];
         if (!empty($this->params['id'])) {
-            $where[] = ['id','>',$this->params['id']];
+            if(empty($this->params['limit'])){
+                $where[] = ['id','>',$this->params['id']];
+            }
             $where[] = ['cover_type','=',1];
         }
         return $where;