|
@@ -385,7 +385,7 @@ class Talent extends AdminController {
|
|
|
$logs = TalentLogApi::getListLogByTime($talent_info["id"], $talent_info["first_dept_check_time"]);
|
|
|
for ($i = 0; $i < count($logs); $i++) {
|
|
|
$over += $logs[$i]["active"] == 1 ? 1 : 0;
|
|
|
- if ($logs["new_state"] == TalentState::SCND_SUBMIT) {
|
|
|
+ if ($logs[$i]["new_state"] == TalentState::SCND_SUBMIT) {
|
|
|
$error++;
|
|
|
}
|
|
|
}
|
|
@@ -632,4 +632,14 @@ class Talent extends AdminController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ public function getPhones() {
|
|
|
+ $list = VerifyApi::getList($this->request);
|
|
|
+ $phones = array_column($list["rows"], "phone");
|
|
|
+ return json(["code" => 200, "obj" => implode(",", $phones)]);
|
|
|
+ }
|
|
|
+
|
|
|
+ public function getEnterprisePhones() {
|
|
|
+ return json(["code" => 200, "obj" => $phones]);
|
|
|
+ }
|
|
|
+
|
|
|
}
|