Commit 91aeeb0e authored by 秦俊坤's avatar 秦俊坤

鉴权参数名称修改

parent 257f1a24
...@@ -31,11 +31,11 @@ interface AuthenticationInterface ...@@ -31,11 +31,11 @@ interface AuthenticationInterface
/** /**
* 获取对应路由的接口权限结果 * 获取对应路由的接口权限结果
* @param $router string 路由名字 * @param $path string 请求 URL 路径
* @param $method string 路由名字 * @param $method string 路由名字
* @param $applicationName string 应用名字 * @param $applicationName string 应用名字
* @param $userId integer 用户 ID * @param $userId integer 用户 ID
* @return bool * @return bool
*/ */
public function authByRouter($applicationName, $router, $method, $userId): bool; public function authByRouter($applicationName, $path, $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