Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 20c356fc
authored
Nov 29, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
mock
1 parent
793ee539
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/config/index.js
src/config/index.js
View file @
20c356f
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* @version:
* @version:
* @Author: limin
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @Date: 2021-06-07 14:12:32
* @LastEditors:
limi
n
* @LastEditors:
yangming yangming@didihu.com.c
n
* @LastEditTime: 202
1-09-07 14:38:52
* @LastEditTime: 202
3-11-29 15:22:11
*/
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
// let request = require('@/http/request.js')
...
@@ -18,7 +18,7 @@ export const fetchConfig = function(isEnv = true) {
...
@@ -18,7 +18,7 @@ export const fetchConfig = function(isEnv = true) {
return
Promise
.
resolve
(
cfg
)
return
Promise
.
resolve
(
cfg
)
}
}
return
new
Http
({
request
:
{
timeout
:
3000
}
}).
get
(
'https://oss-config.
dev.
glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2'
)
return
new
Http
({
request
:
{
timeout
:
3000
}
}).
get
(
'https://oss-config.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2'
)
//开发环境mock
//开发环境mock
// return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
// return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
}
}
...
...
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