|
@@ -4413,7 +4413,7 @@ private function fetchArticles($catId, $website, $limit, $isImageArticle = false
|
|
|
// 先添加职位相关信息
|
|
|
if($user['type_id'] == 10000){
|
|
|
$job['status'] = 1;
|
|
|
- $job['experience'] = $data['experience']?? null;
|
|
|
+ $job['experience'] = $data['experience']?? 0;
|
|
|
}
|
|
|
$jobId = JobRecruiting::insertGetId($job);
|
|
|
if (empty($jobId)) {
|
|
@@ -4582,6 +4582,7 @@ private function fetchArticles($catId, $website, $limit, $isImageArticle = false
|
|
|
} else {
|
|
|
$data['status'] = 0;
|
|
|
}
|
|
|
+ $job['experience'] = $data['experience']?? 0;
|
|
|
// Db::rollBack();
|
|
|
// return Result::success($company);
|
|
|
$result['job'] = JobRecruiting::where('id', $jobId)->update($data);
|