Commit 1b85120f authored by 秦俊坤's avatar 秦俊坤

新增鉴权接口

parent 5a2cc492
...@@ -13,19 +13,20 @@ interface AuthenticationServiceInterface ...@@ -13,19 +13,20 @@ interface AuthenticationServiceInterface
/** /**
* 获取对应用户能够看到的菜单 * 获取对应用户能够看到的菜单
* @param string $name * @param string $applicationName
* @param array $columns * @param integer $userId
* @return array * @return array
*/ */
public function getMenus($userId): array; public function getMenus($applicationName, $userId): array;
/** /**
* 获取对应用户的菜单权限 * 获取对应用户的菜单权限
* @param $userId * @param string $applicationName 应用名称
* @param integer $userId 用户 ID
* @return array * @return array
*/ */
public function getButtons($userId):array; public function getButtons($applicationName, $userId):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