fix: bbs与ai存储refreshToken

This commit is contained in:
Gsh
2025-06-29 00:57:57 +08:00
parent 03de576d8c
commit 39eb4bef07
7 changed files with 151 additions and 81 deletions

View File

@@ -3,6 +3,9 @@ import { post } from '@/utils/request';
export const login = (data: LoginDTO) => post<LoginVO>('/auth/login', data).json();
// 刷新token
export const updateToken = (data: any) => post<any>('/account/refresh', data).json();
// 邮箱验证码
export const emailCode = (data: EmailCodeDTO) => post('/resource/email/code', data).json();