Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baiwumm/react-admin
/ getPermissions
Function
getPermissions
Xmw_web/src/services/logic/login.ts:37–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
* @Author: 白雾茫茫丶
36
*/
37
export
const
getPermissions = () => httpRequest.get<string[]>(
'/auth/permissions'
);
38
39
/**
40
* @description: 获取用户权限菜单
Callers
1
initUserAuthority
Function · 0.90
Calls
1
get
Method · 0.80
Tested by
no test coverage detected