|
@@ -2706,16 +2706,8 @@ class NewsService implements NewsServiceInterface
|
|
|
$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')
|
|
|
->limit($data['job1_num'])
|
|
|
->get();
|