mirror of
https://github.com/certd/certd.git
synced 2026-07-10 15:17:32 +08:00
fix: 修复下载证书时提示token已过期的问题
This commit is contained in:
@@ -41,6 +41,12 @@ export async function register(user: RegisterReq): Promise<UserInfoRes> {
|
||||
data: user,
|
||||
});
|
||||
}
|
||||
export async function logout() {
|
||||
return await request({
|
||||
url: "/logout",
|
||||
method: "post",
|
||||
});
|
||||
}
|
||||
|
||||
export async function login(data: LoginReq): Promise<LoginRes> {
|
||||
//如果开启了登录与权限模块,则真实登录
|
||||
|
||||
Reference in New Issue
Block a user