Commit d27aa8df by Jaxon

dev:修改mock地址

1 parent 550e6062
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
import axios from "axios"; import axios from "axios";
// Mock 基础配置 // Mock 基础配置
const MOCK_BASE_URL = "http://127.0.0.1:4523/m1/7490654-7226095-default/"; const MOCK_BASE_URL = "http://127.0.0.1:4523/m1/8288894-8052075-7770682/";
/** /**
* 创建 Mock Axios 实例 * 创建 Mock Axios 实例
*/ */
...@@ -53,7 +53,7 @@ function mockRequest(params = {}, httpMethod = "post") { ...@@ -53,7 +53,7 @@ function mockRequest(params = {}, httpMethod = "post") {
// 构建请求URL // 构建请求URL
// 格式: /dj.staff.api.service.merchant.page.with.brand/1.0.0 // 格式: /dj.staff.api.service.merchant.page.with.brand/1.0.0
const url = `/${method}/${version}`; const url = `/router/${method}/${version}`;
// 准备请求配置 // 准备请求配置
const config = { const config = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!