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
c46692b8
Commit
c46692b8
authored
Apr 08, 2020
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户服务接口,添加鉴权方法
parent
67dba768
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
+4
-16
UserServiceInterface.php
src/Service/Interfaces/UserServiceInterface.php
+4
-16
No files found.
src/Service/Interfaces/UserServiceInterface.php
View file @
c46692b8
...
@@ -10,17 +10,6 @@ namespace Meibuyu\Micro\Service\Interfaces;
...
@@ -10,17 +10,6 @@ namespace Meibuyu\Micro\Service\Interfaces;
interface
UserServiceInterface
interface
UserServiceInterface
{
{
/**
* 获取列表数据
* @param array $params
* $params = [
* 'keyword' => '',
* 'page' => 1, 当前第几页
* 'page_size' => 10, 每页展示数,默认10
* ]
* @return mixed
*/
public
function
search
(
$params
);
/**
/**
* 获取单个数据
* 获取单个数据
...
@@ -38,11 +27,10 @@ interface UserServiceInterface
...
@@ -38,11 +27,10 @@ interface UserServiceInterface
public
function
getByIdList
(
array
$idList
,
array
$columns
=
[
'*'
]);
public
function
getByIdList
(
array
$idList
,
array
$columns
=
[
'*'
]);
/**
/**
* 更新数据
* @param int $userId
* @param $id
* @param string $perm
* @param array $params
* @return bool
* @return mixed
*/
*/
public
function
update
(
$id
,
$params
)
;
public
function
checkPerm
(
int
$userId
,
string
$perm
)
:
bool
;
}
}
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