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

新增鉴权接口

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