@@ -67,6 +67,8 @@ class ArticleService extends BaseService
->where(function ($query) use ($type) {
if ($type>0) {
$query->where('a.type', $type);
+ }if ($type<0) {
+ $query->whereIn('a.type', [1,2]);
} else {
$query->where('a.type','>=',3)->where('a.type','<',9);
}