兼容OAuth2

Signed-off-by: 木子-李 <1537080775@qq.com>
This commit is contained in:
木子-李
2025-05-06 05:49:02 +00:00
committed by Gitee
parent b4ffb2105f
commit 45dcda0cc0
6 changed files with 178 additions and 2 deletions

View File

@@ -28,3 +28,10 @@ export function getUserInfo() {
method: 'get',
});
}
export function getBackends() {
return request({
url: '/api/dvadmin3_social_oauth2/backend/get_login_backend/',
method: 'get',
});
}