admin-vben5/apps/web-ele/src/api/demos/status.ts
Li Kui 4074a88c13
feat: element-plus app (#32)
* 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
2024-07-31 21:22:43 +08:00

11 lines
220 B
TypeScript

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