|
@@ -279,8 +279,7 @@ class BuyhouseController extends WebBaseController
|
|
|
$back_url = \Illuminate\Support\Facades\URL::previous();
|
|
|
return $this->showMessage('其他人才暂不支持', $back_url, true, '上一页', '3');
|
|
|
}
|
|
|
- dd($talent);
|
|
|
- if (strtotime($talent['activeDate']) < time()) {
|
|
|
+ if (!empty($talent['activeDate']) && strtotime($talent['activeDate']) < time()) {
|
|
|
$back_url = \Illuminate\Support\Facades\URL::previous();
|
|
|
return $this->showMessage('人才证有效期为' . $talent['activeDate'] . ',人才证已过期,请重新认证', $back_url, true, '上一页', '3');
|
|
|
}
|