Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d27aa8df
authored
May 21, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
dev:修改mock地址
1 parent
550e6062
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/api/mock/request.mock.js
src/api/mock/request.mock.js
View file @
d27aa8d
...
@@ -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
=
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment