Commit 461a6260 authored by jiangkebao's avatar jiangkebao

修改钉钉用户权限验证

parent 69fd4ca3
...@@ -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;
} }
<?php
/**
* Created by PhpStorm.
* User: 姜克保
* Date: 2020/5/20
* Time: 15:48
*/
namespace Meibuyu\Micro\Service\Interfaces\DingTalk;
interface DingMessageServiceInterface
{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment