perf: improve the logic related to login expiration

This commit is contained in:
vince
2024-07-11 20:11:11 +08:00
parent 8e6c1abf19
commit d62a3da009
43 changed files with 552 additions and 347 deletions

View File

@@ -0,0 +1,10 @@
import { requestClient } from '#/forward';
/**
* 模拟人意状态码
*/
async function getMockStatus(status: string) {
return requestClient.get('/mock/status', { params: { status } });
}
export { getMockStatus };