feat: pc端单点登录,隐藏上边栏左边栏

This commit is contained in:
GAOANG
2024-04-22 09:13:18 +08:00
parent 8b0174ddb9
commit 2c8bc68c7d
5 changed files with 77 additions and 8 deletions

View File

@ -47,6 +47,17 @@ export function loginApi(params: LoginParams, mode: ErrorMessageMode = 'modal')
},
);
}
export function singleLoginApi(params, mode) {
return defHttp.post(
{
url: Api.Login + '/' + params.ltpasToken,
params:{},
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: getUserInfo