|
@@ -25,7 +25,7 @@ class JobController extends ApiBaseController
|
|
|
$record[] = [
|
|
|
'company_name' => $sheet->getCell("D{$row}")->getValue(),
|
|
|
'job_name' => $sheet->getCell("G{$row}")->getValue(),
|
|
|
- 'amount' => $sheet->getCell("G{$row}")->getValue(),
|
|
|
+ 'amount' => $sheet->getCell("I{$row}")->getValue(),
|
|
|
'max_age' => $sheet->getCell("K{$row}")->getValue(),
|
|
|
'sex' => $sheet->getCell("L{$row}")->getValue(),
|
|
|
'education' => $sheet->getCell("O{$row}")->getValue(),
|
|
@@ -59,8 +59,8 @@ class JobController extends ApiBaseController
|
|
|
$item['district'] = $company_list[$v['company_name']]['district'];
|
|
|
$item['education'] = $education[$v['education']];
|
|
|
$item['wage'] = -1;
|
|
|
- $item['age'] = '18-' . $v['max_age'];
|
|
|
- $item['jobs_content'] = $v['jobs_content'] . "\n" . "学位要求:" . $v['xuewei'] . ";专业要求:" . $v['major'];
|
|
|
+ $item['age'] = [18,$v['max_age']];
|
|
|
+ $item['jobs_content'] = "学位要求:" . $v['xuewei'] . ";专业要求:" . $v['major'] . $v['jobs_content'] . "\n";
|
|
|
$item['audit'] = 1;
|
|
|
$item['setmeal_id'] = 1;
|
|
|
$item['setmeal_name'] = "免费会员";
|
|
@@ -68,6 +68,7 @@ class JobController extends ApiBaseController
|
|
|
$item['is_health'] = 1;
|
|
|
$item['health_type'] = 1;
|
|
|
Jobs::create($item);
|
|
|
+ dd($item);
|
|
|
}
|
|
|
|
|
|
return '完成';
|