feat: 新增单点登录回调页面

This commit is contained in:
xlsea
2025-04-24 17:36:38 +08:00
parent b31edb5f8c
commit c2818257dc
17 changed files with 207 additions and 10 deletions

View File

@ -114,6 +114,16 @@ declare namespace Api {
password?: string;
}
/** social login form */
interface SocialLoginForm extends LoginForm {
/** 授权码 */
socialCode?: string;
/** 授权状态 */
socialState?: string;
/** 来源 */
source?: string;
}
/** register form */
interface RegisterForm extends LoginForm {
/** 用户名 */

View File

@ -594,5 +594,23 @@ declare namespace Api {
/** client list */
type ClientList = Api.Common.PaginatingQueryRecord<Client>;
/** social source */
type SocialSource =
| 'maxkey'
| 'topiam'
| 'qq'
| 'weibo'
| 'gitee'
| 'dingtalk'
| 'baidu'
| 'csdn'
| 'coding'
| 'oschina'
| 'alipay_wallet'
| 'wechat_open'
| 'wechat_mp'
| 'wechat_enterprise'
| 'gitlab';
}
}

View File

@ -26,6 +26,7 @@ declare module "@elegant-router/types" {
"monitor": "/monitor";
"monitor_login-infor": "/monitor/login-infor";
"monitor_oper-log": "/monitor/oper-log";
"social-callback": "/social-callback";
"system": "/system";
"system_client": "/system/client";
"system_config": "/system/config";
@ -78,6 +79,7 @@ declare module "@elegant-router/types" {
| "iframe-page"
| "login"
| "monitor"
| "social-callback"
| "system"
| "tool"
>;
@ -101,6 +103,7 @@ declare module "@elegant-router/types" {
| "500"
| "iframe-page"
| "login"
| "social-callback"
| "home"
| "monitor_login-infor"
| "monitor_oper-log"