mock.ts 221 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 import { requestClient } from '#/forward'; /** * 模拟任意状态码 */ async function getMockStatus(status: string) { return requestClient.get('/mock/status', { params: { status } }); } export { getMockStatus };