|
@@ -807,14 +807,10 @@ class Talent extends AdminController {
|
|
|
$state = TalentState::PUBLISH_FAIL;
|
|
|
$msg = "公布审核不通过:" . $msg;
|
|
|
}
|
|
|
- if (!$batch || !strtotime($batch))
|
|
|
+ if ($checkState == 1 && (!$batch || !strtotime($batch)))
|
|
|
return json(["msg" => "公布批次时间错误"]);
|
|
|
if (!$msg)
|
|
|
return json(["msg" => "请填写审核意见"]);
|
|
|
- $state = TalentState::PUBLISH_PASS; //公示再审核通过
|
|
|
- $batch = $params["batch"];
|
|
|
- if (!strtotime($batch))
|
|
|
- return json(["msg" => "公布批次时间错误"]);
|
|
|
$talent_info = VerifyApi::getOne($id);
|
|
|
if ($talent_info["checkState"] != TalentState::ANNOUNCED_REVERIFY_PASS) {
|
|
|
return json(["msg" => "当前记录不是公示再审核通过状态,无法审核"]);
|