|
@@ -196,13 +196,14 @@ class BuyhouseController extends WebBaseController
|
|
|
return $this->showMessage('您还未认定人才,暂无申报资格', $back_url, true, '上一页', '3');
|
|
|
}
|
|
|
$talent = $talent['obj'][0];
|
|
|
- if ($talent['type'] != 1) {
|
|
|
+ if ($talent['talentArrange'] > 5) {
|
|
|
$back_url = \Illuminate\Support\Facades\URL::previous();
|
|
|
- return $this->showMessage('目前仅支持晋江高层次人才申报', $back_url, true, '上一页', '3');
|
|
|
+ return $this->showMessage('目前仅支持一到五层次人才申报', $back_url, true, '上一页', '3');
|
|
|
}
|
|
|
$add = [
|
|
|
'user_id' => $user_id,
|
|
|
'house_id' => $id,
|
|
|
+ 'type' => $talent['type'],
|
|
|
'name' => $talent['name'],
|
|
|
'mobile' => $talent['phone'],
|
|
|
'native' => $talent['nativePlace'],
|