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
6d9abb9a
Commit
6d9abb9a
authored
May 12, 2020
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo
parent
7c2f9315
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
UserServiceInterface.php
src/Service/Interfaces/UserServiceInterface.php
+3
-3
No files found.
src/Service/Interfaces/UserServiceInterface.php
View file @
6d9abb9a
...
...
@@ -15,7 +15,7 @@ interface UserServiceInterface
* 获取单个数据
* @param int $id
* @param array $columns
* @param array $relations
* @param array $relations
可传入['teams', 'department', 'position'],分别是团队,部门和岗位
* @return mixed
*/
public
function
get
(
int
$id
,
array
$columns
=
[
'*'
],
array
$relations
=
[]);
...
...
@@ -23,7 +23,7 @@ interface UserServiceInterface
/**
* 获取全部数据
* @param array $columns
* @param array $relations
* @param array $relations
可传入['teams', 'department', 'position'],分别是团队,部门和岗位
* @return array
*/
public
function
all
(
array
$columns
=
[
'*'
],
array
$relations
=
[])
:
array
;
...
...
@@ -32,7 +32,7 @@ interface UserServiceInterface
* 通过id列表获取用户数组
* @param array $idList
* @param array $columns
* @param array $relations 可传入['team', 'department', 'position'],分别是团队,部门和岗位
* @param array $relations 可传入['team
s
', 'department', 'position'],分别是团队,部门和岗位
* @return mixed
*/
public
function
getByIdList
(
array
$idList
,
array
$columns
=
[
'*'
],
array
$relations
=
[]);
...
...
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