Skip to content

Commit

Permalink
Update BaseController.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th authored May 6, 2021
1 parent bc5cc55 commit 2131747
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/Application/Api/Controller/BaseController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,6 @@ protected function checkItemCreator($uid , $item_id){
//判断某用户是否有项目访问权限(公开项目的话所有人可访问,私有项目则项目成员、项目创建者和访问密码输入者可访问)
protected function checkItemVisit($uid , $item_id, $refer_url= ''){

if (session("visit_item_".$item_id)) {
return true;
}

if ($this->checkItemCreator($uid , $item_id)) {
session("visit_item_".$item_id , 1 );
Expand Down

0 comments on commit 2131747

Please sign in to comment.