Files
admin-vben5/apps/web-antd/src/api/demos/status.ts
2024-08-07 13:42:33 +08:00

11 lines
226 B
TypeScript

import { requestClient } from '#/api/request';
/**
* 模拟任意状态码
*/
async function getMockStatusApi(status: string) {
return requestClient.get('/status', { params: { status } });
}
export { getMockStatusApi };