|
@@ -701,6 +701,14 @@ class Api extends BaseController {
|
|
|
return true;
|
|
|
}
|
|
|
break;
|
|
|
+ case ProjectState::EDUCATION:
|
|
|
+ if ($this->user["usertype"] == 3) {
|
|
|
+ $user_id = $this->user["uid"];
|
|
|
+ $talent_info = \app\common\model\EducationSchool::findOrEmpty($mainId);
|
|
|
+ if ($user_id == $talent_info["personId"])
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ break;
|
|
|
case ProjectState::LIVINGALLOWANCE:
|
|
|
if ($this->user["usertype"] == 2) {
|
|
|
$user_id = $this->user["uid"];
|