Commit ee17cbfe by Jaxon

feat: mock api添加

1 parent d8c2ae46
import { Http } from "glsx-common";
import { Notify } from "vant";
const mockBaseUrl = "http://127.0.0.1:4523/m1/8353571-8118735-default/router/";
const mockRequest = new Http({
});
export function mock(method, data = {}, url = "supervisorUrl", options = {}, httpType = "djHttp") {
return mockRequest({
url: `${mockBaseUrl}${method}/1.0.0`,
data,
...options,
});
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!