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
461a6260
Commit
461a6260
authored
May 26, 2020
by
jiangkebao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改钉钉用户权限验证
parent
69fd4ca3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
DingAuthServiceInterface.php
src/Service/Interfaces/DingTalk/DingAuthServiceInterface.php
+2
-3
DingMessageServiceInterface.php
...rvice/Interfaces/DingTalk/DingMessageServiceInterface.php
+14
-0
No files found.
src/Service/Interfaces/DingTalk/DingAuthServiceInterface.php
View file @
461a6260
...
@@ -12,9 +12,8 @@ interface DingAuthServiceInterface
...
@@ -12,9 +12,8 @@ interface DingAuthServiceInterface
{
{
/**
/**
* 通过临时授权码获取用户信息
* 通过临时授权码获取用户信息
* @param $code 临时授权码
* @param string $code 临时授权码
* @param $state 用于防止重放攻击,开发者可以根据此信息来判断redirect_uri只能执行一次来避免重放攻击
* @return array
* @return array
*/
*/
public
function
getDingUserByTempCode
(
$code
,
$state
)
:
array
;
public
function
getDingUserByTempCode
(
$code
)
:
array
;
}
}
src/Service/Interfaces/DingTalk/DingMessageServiceInterface.php
0 → 100644
View file @
461a6260
<?php
/**
* Created by PhpStorm.
* User: 姜克保
* Date: 2020/5/20
* Time: 15:48
*/
namespace
Meibuyu\Micro\Service\Interfaces\DingTalk
;
interface
DingMessageServiceInterface
{
}
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