From f2e14fbd69737ca7717835fcc4e02c0f01de10d4 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 02 二月 2026 10:12:42 +0800
Subject: [PATCH] fix: 修复扫码时code参数格式不一致导致的解析错误

---
 src/api/system/user.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/api/system/user.ts b/src/api/system/user.ts
index c66b874..5e1ee85 100644
--- a/src/api/system/user.ts
+++ b/src/api/system/user.ts
@@ -156,7 +156,7 @@
   avatar?: string;
 
   /** 瑙掕壊 */
-  roles?: string[];
+  roles?: any[];
 
   /** 鏉冮檺 */
   perms?: string[];

--
Gitblit v1.9.3