浏览代码

Merge branch 'web_sannong_fr'

15313670163 6 天之前
父节点
当前提交
7e08d52323
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/JsonRpc/NewsService.php

+ 1 - 0
app/JsonRpc/NewsService.php

@@ -859,6 +859,7 @@ class NewsService implements NewsServiceInterface
         if($data['imgnum'] > 0){
             $query = clone $query;
             $result['img'] = $query
+            ->whereIn('catid',$categoryIds)
             ->where('article.imgurl', '!=','')
             ->select('article.id','article.title','article.imgurl','article.author','article.updated_at'
             ,'article.introduce','article.islink','article.linkurl','article.copyfrom','article.cat_arr_id',