mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-17 02:22:01 +08:00
* chore: detail adjustment * refactor: Migrate demo applications to playground * perf: logic optimization * chore: update docs * chore: update docs
11 lines
226 B
TypeScript
11 lines
226 B
TypeScript
import { requestClient } from '#/api/request';
|
|
|
|
/**
|
|
* 模拟任意状态码
|
|
*/
|
|
async function getMockStatusApi(status: string) {
|
|
return requestClient.get('/status', { params: { status } });
|
|
}
|
|
|
|
export { getMockStatusApi };
|