Преглед изворни кода

修改b端添加职位的接口-改变它的默认工作经验

15313670163 пре 1 недеља
родитељ
комит
70532999b7
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/JsonRpc/NewsService.php

+ 1 - 0
app/JsonRpc/NewsService.php

@@ -1167,6 +1167,7 @@ class NewsService implements NewsServiceInterface
             // 先添加职位相关信息
             if($user['type_id'] == 10000){
                $job['status'] = 1;  
+               $job['experience'] = $data['experience']?? null;
             }
             $jobId = JobRecruiting::insertGetId($job);
             if (empty($jobId)) {