Sfoglia il codice sorgente

修改c端接口:获取企业列表

15313670163 8 ore fa
parent
commit
09cd18f3c4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/JsonRpc/NewsService.php

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -2924,7 +2924,7 @@ private function fetchArticles($catId, $website, $limit, $isImageArticle = false
         }
         $query = Company::where($where);
         $company = $this->processArticle(
-            $query->select('id','title','introduce','description','content','category_id','cat_arr_id')
+            $query->select('id','title','introduce','description','content','category_id','cat_arr_id','updated_at')  
             ->orderBy('updated_at', 'desc')
             ->offset(($data['page'] - 1) * $data['pageSize'])
             ->limit($data['pageSize'])