|
@@ -200,7 +200,7 @@ class BuyhouseController extends WebBaseController
|
|
$back_url = \Illuminate\Support\Facades\URL::previous();
|
|
$back_url = \Illuminate\Support\Facades\URL::previous();
|
|
return $this->showMessage('目前仅支持晋江高层次人才申报', $back_url, true, '上一页', '3');
|
|
return $this->showMessage('目前仅支持晋江高层次人才申报', $back_url, true, '上一页', '3');
|
|
}
|
|
}
|
|
- $add = [
|
|
|
|
|
|
+ $add = [
|
|
'user_id' => $user_id,
|
|
'user_id' => $user_id,
|
|
'house_id' => $id,
|
|
'house_id' => $id,
|
|
'name' => $talent['name'],
|
|
'name' => $talent['name'],
|
|
@@ -219,8 +219,8 @@ class BuyhouseController extends WebBaseController
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s'),
|
|
];
|
|
];
|
|
- $id = TalentHouseApply::insertGetId($add);
|
|
|
|
- $apply = TalentHouseApply::find($id);
|
|
|
|
|
|
+ $id = TalentHouseApply::insertGetId($add);
|
|
|
|
+ $apply = TalentHouseApply::find($id);
|
|
}
|
|
}
|
|
|
|
|
|
$apply['family'] = json_decode($apply['family'], true);
|
|
$apply['family'] = json_decode($apply['family'], true);
|
|
@@ -315,6 +315,7 @@ class BuyhouseController extends WebBaseController
|
|
$info->street = $data['street'];
|
|
$info->street = $data['street'];
|
|
$info->house_condition = $data['house_condition'];
|
|
$info->house_condition = $data['house_condition'];
|
|
$info->house_policy = $data['house_policy'];
|
|
$info->house_policy = $data['house_policy'];
|
|
|
|
+ $info->status = 1;
|
|
|
|
|
|
//审核状态
|
|
//审核状态
|
|
if ($info->rs_check_status == 3) {
|
|
if ($info->rs_check_status == 3) {
|