perf: improve the logic related to login expiration
This commit is contained in:
10
apps/web-antd/src/apis/modules/mock.ts
Normal file
10
apps/web-antd/src/apis/modules/mock.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { requestClient } from '#/forward';
|
||||
|
||||
/**
|
||||
* 模拟人意状态码
|
||||
*/
|
||||
async function getMockStatus(status: string) {
|
||||
return requestClient.get('/mock/status', { params: { status } });
|
||||
}
|
||||
|
||||
export { getMockStatus };
|
Reference in New Issue
Block a user