
* chore: init project * chore: install element-plus * chore: locale config * fix: eslint error * chore: merge from main * fix: lint * chore: finish todo * chore: update comments * chore: update * fix: lint error * chore: add unplugin-element-plus * chore: add useElementPlusDesignTokens * chore: configure some color
11 lines
220 B
TypeScript
11 lines
220 B
TypeScript
import { requestClient } from '#/api/request';
|
|
|
|
/**
|
|
* 模拟任意状态码
|
|
*/
|
|
async function getMockStatus(status: string) {
|
|
return requestClient.get('/status', { params: { status } });
|
|
}
|
|
|
|
export { getMockStatus };
|