对接登录

This commit is contained in:
1147680382@qq.com
2025-05-20 17:58:31 +08:00
parent 4bd7c4de67
commit cd90af7c05
4 changed files with 47 additions and 11 deletions
+8 -1
View File
@@ -2,7 +2,7 @@ import service from "../request.js";
// 登录
export function login(authCode) {
return service({
url: `/sso/login?code=${authCode}`,
url: `/login?code=${authCode}`,
method: "get",
});
}
@@ -72,3 +72,10 @@ export function deleteGroupUser(groupId, userid) {
method: "delete",
});
}
export function obtainUserInformationApi(groupId, userid) {
return service({
url: `/user`,
method: "get",
});
}