feat: api suffix (#4065)

This commit is contained in:
sea
2024-08-07 13:42:33 +08:00
committed by GitHub
parent d9ba9917ff
commit 08391ad53e
18 changed files with 39 additions and 39 deletions

View File

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