From d291826bbb1c887f85cd53a61ec6262b4212c38b Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期二, 25 八月 2026 10:37:19 +0800
Subject: [PATCH] fix(auth): 数据库配置的 logo 优先,未配置才回退编译期默认

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

diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts
index 1f49036..cc7ce13 100644
--- a/src/api/system/user/index.ts
+++ b/src/api/system/user/index.ts
@@ -114,3 +114,10 @@
     params: { nickname },
   });
 }
+
+/** 閫氳繃瑙掕壊鏍囪瘑鑾峰彇鐢ㄦ埛绮剧畝淇℃伅鍒楄〃 */
+export function getSimpleUserListByRoleCode(code: string) {
+  return requestClient.get<SystemUserApi.UserSimple[]>('/system/user/list-by-role-code', {
+    params: { code },
+  });
+}

--
Gitblit v1.9.3