Explorar o código

修复没有chkisowner

sugangqiang %!s(int64=2) %!d(string=hai) anos
pai
achega
81bb7805fc
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/enterprise/controller/Base.php

+ 2 - 2
app/enterprise/controller/Base.php

@@ -78,8 +78,8 @@ class Base extends EnterpriseController {
     // 1保存未提交 2已提交未审核 3已审核 4驳回 5保存补充材料未提交 6提交补充材料进入初审 7初审通过 8初审驳回 9部门审核通过 10部门审核驳回 11复核通过 12复核驳回 13复核失败
     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) {