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
e591c267
Commit
e591c267
authored
Oct 29, 2020
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户rpc添加通过团队id数组获取用户数组(包括子团队用户)方法
parent
1a574201
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
UserServiceInterface.php
src/Service/Interfaces/UserServiceInterface.php
+9
-1
No files found.
src/Service/Interfaces/UserServiceInterface.php
View file @
e591c267
...
@@ -47,12 +47,20 @@ interface UserServiceInterface
...
@@ -47,12 +47,20 @@ interface UserServiceInterface
/**
/**
* 通过部门id列表获取用户数组(包括子部门用户)
* 通过部门id列表获取用户数组(包括子部门用户)
* @param array $deptIds
* @param array $deptIds
默认去重
* @param array $columns 用户字段,默认['id', 'name']
* @param array $columns 用户字段,默认['id', 'name']
* @return array
* @return array
*/
*/
public
function
getListByDeptIds
(
array
$deptIds
,
$columns
=
[]);
public
function
getListByDeptIds
(
array
$deptIds
,
$columns
=
[]);
/**
* 通过团队id数组获取用户数组(包括子团队用户)
* @param array $teamIds 默认去重
* @param array $columns 用户字段,默认['id', 'name']
* @return array
*/
public
function
getListByTeamIds
(
array
$teamIds
,
$columns
=
[]);
/**
/**
* 判断是否是超级管理员
* 判断是否是超级管理员
* @param int $userId
* @param int $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