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
63afa2db
Commit
63afa2db
authored
May 20, 2020
by
jiangkebao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增钉钉用户rpc 接口
parent
26428cbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
DingUserServiceInterface.php
src/Service/Interfaces/DingUserServiceInterface.php
+37
-0
No files found.
src/Service/Interfaces/DingUserServiceInterface.php
0 → 100644
View file @
63afa2db
<?php
/**
* Created by PhpStorm.
* User: 姜克保
* Date: 2020/5/20
* Time: 15:48
*/
namespace
Meibuyu\Micro\Service\Interfaces
;
interface
DingUserServiceInterface
{
/**
* 通过用户id获取单个用户信息
* @param int $id
* @return array
*/
public
function
getById
(
int
$id
)
:
array
;
/**
* 通过部门id获取部门用户列表
* @param int $departmentId
* @param int $offset
* @param int $size
* @param string|null $order
* @param string|null $lang
* @return array
*/
public
function
getDepartmentUsers
(
int
$departmentId
,
int
$offset
,
int
$size
,
string
$order
=
null
,
string
$lang
=
null
)
:
array
;
/**
* 通过Unionid获取用户id
* @param int $unionid
* @return int
*/
public
function
getUseridByUnionid
(
int
$unionid
)
:
int
;
}
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