f1f8518985
feat(auth): 添加用户权限获取接口并完善JWT令牌角色信息 - 在JWT令牌中添加用户角色信息 - 新增get_my_permissions接口用于获取当前用户权限码列表 - 重构认证回调逻辑,增加错误日志记录 - 更新用户信息获取接口使用Authorization头验证 ```
15 lines
450 B
JSON
15 lines
450 B
JSON
{
|
|
"name": "H3C ONU 设备管理",
|
|
"short_name": "ONU管理",
|
|
"description": "H3C OLT/ONU 设备监控管理系统",
|
|
"start_url": "/",
|
|
"display": "standalone",
|
|
"orientation": "portrait",
|
|
"background_color": "#0a0e1a",
|
|
"theme_color": "#0a0e1a",
|
|
"icons": [
|
|
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
|
|
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any maskable" }
|
|
]
|
|
}
|