wesmiler hace 1 mes
padre
commit
c65e30808b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      app/Services/Api/ArticleService.php

+ 1 - 2
app/Services/Api/ArticleService.php

@@ -14,7 +14,6 @@ namespace App\Services\Api;
 use App\Models\ArticleCateModel;
 use App\Models\ArticleConsultRecordsModel;
 use App\Models\ArticleModel;
-use App\Models\SupervisorsConsultRecordsModel;
 use App\Services\BaseService;
 use App\Services\ConfigService;
 use App\Services\RedisService;
@@ -139,7 +138,7 @@ class ArticleService extends BaseService
                 // 协议
                 $showType = isset($params['show_type'])? $params['show_type'] : 0;
                 if($showType == 3){
-                    $query->where('a.type','>=',3)->whereNotIn('a.type',[9]);
+                    $query->where('a.type','>=',3)->whereNotIn('a.type',[9,10]);
                 }
 
             });