|
@@ -78,8 +78,8 @@ class Base extends EnterpriseController {
|
|
|
|
|
|
public function submit() {
|
|
|
$param = $this->request->param();
|
|
|
- $id = $param["id"];
|
|
|
- $info = self::chkIsOwner($id, $this->user["uid"]);
|
|
|
+ $id = $param["id"];
|
|
|
+ $info = TalentApi::chkIsOwner($id, $this->user["uid"]);
|
|
|
$checkState = $info["checkState"] ?: 0;
|
|
|
if ($checkState == TalentState::FST_SAVE || $checkState == 0) {
|
|
|
|