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, + }, + }), }