Переглянути джерело

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

15313670163 9 годин тому
батько
коміт
9ccf1a0af8
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app/JsonRpc/NewsService.php

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -6299,7 +6299,7 @@ class NewsService implements NewsServiceInterface
     }
     $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'])