瀏覽代碼

Merge branch 'web_sannong_fr'

15313670163 1 月之前
父節點
當前提交
3109f87815
共有 1 個文件被更改,包括 2 次插入10 次删除
  1. 2 10
      app/JsonRpc/NewsService.php

+ 2 - 10
app/JsonRpc/NewsService.php

@@ -2706,16 +2706,8 @@ class NewsService implements NewsServiceInterface
                     $q->WhereRaw("JSON_CONTAINS(job_hunting.city_arr_id, '" . intval($data['city_id']) . "') = 1");
                     $q->WhereRaw("JSON_CONTAINS(job_hunting.city_arr_id, '" . intval($data['city_id']) . "') = 1");
                 });
                 });
             })
             })
-            ->select(
-                'job_hunting.id',
-                'job_hunting.cat_arr_id',
-                'job_hunting.job',
-                'job_hunting.industry',
-                'job_hunting.city_arr_id',
-                'job_hunting.experience',
-                'job_hunting.updated_at',
-                'job_hunting.salary'
-            )
+            ->select('job_hunting.id','job_hunting.cat_arr_id','job_hunting.job','job_hunting.industry','job_hunting.name',
+            'job_hunting.city_arr_id','job_hunting.experience','job_hunting.updated_at','job_hunting.salary')
             ->orderBy('updated_at', 'desc')
             ->orderBy('updated_at', 'desc')
             ->limit($data['job1_num'])
             ->limit($data['job1_num'])
             ->get();
             ->get();