Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-micro
Commits
13159a38
Commit
13159a38
authored
Oct 19, 2020
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2fb62f0e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
AccessServiceInterface.php
src/Service/Interfaces/User/AccessServiceInterface.php
+22
-0
No files found.
src/Service/Interfaces/User/AccessServiceInterface.php
View file @
13159a38
...
@@ -11,6 +11,28 @@ namespace Meibuyu\Micro\Service\Interfaces\User;
...
@@ -11,6 +11,28 @@ namespace Meibuyu\Micro\Service\Interfaces\User;
interface
AccessServiceInterface
interface
AccessServiceInterface
{
{
/**
* 判断用户是否在业务部门(包括子部门)
* @param $inDeptIds
* @param $allDeptIds
* @return mixed
*/
public
function
inBusinessDepartment
(
$inDeptIds
,
$allDeptIds
);
/**
* 获取用户领导的部门id数组
* @param $userId
* @return array
*/
public
function
leadDeptIds
(
$userId
);
/**
* 获取用户领导的团队id数组
* @param $userId
* @return array
*/
public
function
leadTeamIds
(
$userId
);
/**
/**
* 获取鉴权的团队
* 获取鉴权的团队
* @param $userId
* @param $userId
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment