Skip to content

Commit

Permalink
Merge branch 'master' of github.com:star7th/showdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed May 9, 2021
2 parents d2523ca + 2131747 commit a1dd3c6
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 a1dd3c6

Please sign in to comment.