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
4844dac5
Commit
4844dac5
authored
Jun 05, 2020
by
梁俊杰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of 39.100.151.123:hwq/micro
parents
16f63aa2
e8c00597
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
UserServiceInterface.php
src/Service/Interfaces/UserServiceInterface.php
+5
-5
No files found.
src/Service/Interfaces/UserServiceInterface.php
View file @
4844dac5
...
...
@@ -23,7 +23,7 @@ interface UserServiceInterface
* 获取单个数据
* @param int $id
* @param array $columns
* @param array $relations 可传入['teams', 'departments', 'position'
],分别是团队,部门和岗位
* @param array $relations 可传入['teams', 'departments', 'position'
, 'assessment_plan'],分别是团队,部门,岗位和考核方案
* @return mixed
*/
public
function
get
(
int
$id
,
array
$columns
=
[
'*'
],
array
$relations
=
[]);
...
...
@@ -31,7 +31,7 @@ interface UserServiceInterface
/**
* 获取全部数据
* @param array $columns
* @param array $relations 可传入['teams', 'departments', 'position'
],分别是团队,部门和岗位
* @param array $relations 可传入['teams', 'departments', 'position'
, 'assessment_plan'],分别是团队,部门,岗位和考核方案
* @return array
*/
public
function
all
(
array
$columns
=
[
'*'
],
array
$relations
=
[])
:
array
;
...
...
@@ -40,7 +40,7 @@ interface UserServiceInterface
* 通过id列表获取用户数组
* @param array $idList
* @param array $columns
* @param array $relations 可传入['teams', 'departments', 'position'
],分别是团队,部门和岗位
* @param array $relations 可传入['teams', 'departments', 'position'
, 'assessment_plan'],分别是团队,部门,岗位和考核方案
* @return mixed
*/
public
function
getByIdList
(
array
$idList
,
array
$columns
=
[
'*'
],
array
$relations
=
[]);
...
...
@@ -71,10 +71,10 @@ interface UserServiceInterface
/**
* 获取用户拥有某个应用的所有权限
* @param int $userId
* @param
string $appName 当前系统名称,为空获取全部权限
* @param
mixed $appNames 应用名,多个传数组
* @return array
*/
public
function
getPerms
(
int
$userId
,
string
$appName
=
null
)
:
array
;
public
function
getPerms
(
int
$userId
,
$appNames
=
null
)
:
array
;
/**
* 获取带领导字符串数组的列表
...
...
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