Commit 257f1a24 authored by 秦俊坤's avatar 秦俊坤

路由鉴权新增 method

parent d2a9e76a
......@@ -32,9 +32,10 @@ interface AuthenticationInterface
/**
* 获取对应路由的接口权限结果
* @param $router string 路由名字
* @param $method string 路由名字
* @param $applicationName string 应用名字
* @param $userId integer 用户 ID
* @return bool
*/
public function authByRouter($applicationName, $router, $userId): bool;
public function authByRouter($applicationName, $router, $method, $userId): bool;
}
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