diff --git a/tools/login_console.py b/tools/login_console.py index 580c157..62073d2 100644 --- a/tools/login_console.py +++ b/tools/login_console.py @@ -89,6 +89,7 @@ PAGE = """ + @@ -151,6 +152,8 @@ function renderProbes(roles, userId) { { label: '角色清单', path: '/api/v1/admin/roles', role: 'admin' }, { label: '我的身份(管理视角)', path: `/api/v1/admin/users/${userId}/roles`, role: 'admin' }, + { label: '已发布投顾方案', path: '/api/v1/advisor/recommendations/published', + role: 'advisor' }, ]; const box = document.getElementById('probes'); box.innerHTML = '';