Commit eec2f18a authored by 秦俊坤's avatar 秦俊坤

新增获取特定按钮权限方法

parent e93d0319
...@@ -38,4 +38,12 @@ interface AuthenticationInterface ...@@ -38,4 +38,12 @@ interface AuthenticationInterface
* @return bool * @return bool
*/ */
public function authByRouter($applicationName, $path, $method, $userId): bool; public function authByRouter($applicationName, $path, $method, $userId): bool;
/**
* @param string $appName 应用名称
* @param integer $userId 用户 ID
* @param array $buttonCodes
* @return array
*/
public function getAppBtnAccess($appName, $userId, $buttonCodes = []): array;
} }
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