From 94a4e79a31f798e219f12367bcec210ca194671c Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 2 Jan 2026 15:53:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DUserInfo=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=EF=BC=9A=E6=B7=BB=E5=8A=A0roleIds=E5=AD=97=E6=AE=B5=E4=BB=A5?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=AE=A1=E7=90=86=E5=91=98=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/api/auth.ts b/frontend/src/api/auth.ts index 9f3c7a0..c841150 100644 --- a/frontend/src/api/auth.ts +++ b/frontend/src/api/auth.ts @@ -43,6 +43,7 @@ export interface UserInfo { avatar: string deptId: number deptName: string + roleIds?: string // 角色ID列表(逗号分隔) roles: string[] permissions: string[] }