|
@@ -924,6 +924,14 @@ class IndexController extends WebBaseController
|
|
|
//没有报名记录,进入增加阶段的处理流程
|
|
|
DB::beginTransaction();
|
|
|
try{
|
|
|
+ //20220726增加地区undefined选项处理
|
|
|
+ if($index = stripos($data['native_place'],',undefined')){
|
|
|
+ $data['native_place'] = substr($data['native_place'],0,$index);
|
|
|
+ }
|
|
|
+ if($index = stripos($data['house_register'],',undefined')){
|
|
|
+ $data['house_register'] = substr($data['house_register'],0,$index);
|
|
|
+ }
|
|
|
+
|
|
|
$data['uid'] = $uid;
|
|
|
$data['recruit_id'] = $recruit_id;
|
|
|
$result = RecruitAppointInfo::create($data);
|