Quellcode durchsuchen

修改c端-获取招工招聘

15313670163 vor 1 Woche
Ursprung
Commit
c00971e2b9
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      app/JsonRpc/NewsService.php

+ 3 - 3
app/JsonRpc/NewsService.php

@@ -1500,7 +1500,7 @@ class NewsService implements NewsServiceInterface
                     ->get(); 
                 $web['website_id'] = $website; 
                 $all_goods = $this->processGoods($all_goods, $web); 
-            } 
+            }
             return  $all_goods; 
         }, $data); 
         $website = $input['website_id']; 
@@ -2187,7 +2187,7 @@ class NewsService implements NewsServiceInterface
                 });
             })
             ->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.city_arr_id','job_hunting.experience','job_hunting.updated_at','job_hunting.salary')
             ->orderBy('updated_at', 'desc')
             ->limit($data['job1_num'])
             ->get();
@@ -2208,7 +2208,7 @@ class NewsService implements NewsServiceInterface
             ->select('job_recruiting.id','job_recruiting.cat_arr_id','job_recruiting.title',
             'job_recruiting.jtzw_id','job_recruiting.hy_id','job_recruiting.city_arr_id',
             'job_recruiting.due_data','job_recruiting.updated_at','job_recruiting.experience',
-            'job_recruiting.educational','job_company.business_name',)
+            'job_recruiting.educational','job_recruiting.salary','job_company.business_name')
             ->orderBy('updated_at', 'desc')
             ->limit($data['job2_num'])
             ->get();