From d28fc188fa721739d9b4150a366b248ecf975667 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Fri, 18 Apr 2025 17:39:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=88=A4=E6=96=AD=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sheep/api/user.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/sheep/api/user.ts b/src/sheep/api/user.ts index 4c5c42d..337cf6d 100644 --- a/src/sheep/api/user.ts +++ b/src/sheep/api/user.ts @@ -97,4 +97,13 @@ export default { showLoading: false, }, }), + // 判断用户移动端角色 + userRole: () => + request({ + url: "/admin/role/app/user-role", + method: "GET", + custom: { + showLoading: false, + }, + }), }