Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-rpc
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
0
Merge Requests
0
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-rpc
Commits
0dcffa46
Commit
0dcffa46
authored
Oct 19, 2020
by
王源
🎧
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'user-rpc' into test
parents
81386d4e
13159a38
Changes
1
Hide 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 @
0dcffa46
...
...
@@ -11,6 +11,28 @@ namespace Meibuyu\Micro\Service\Interfaces\User;
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
...
...
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