Commit ae83a5bf by 前端

Merge branch 'chenwq_dev_2.0.0' into 'master'

替换测试mock

See merge request !3
2 parents 3056e2fa 6cd68e19
...@@ -15,7 +15,7 @@ export const fetchConfig = function(isEnv = true) { ...@@ -15,7 +15,7 @@ export const fetchConfig = function(isEnv = true) {
Object.assign(request, { timeout }) Object.assign(request, { timeout })
return Promise.resolve(config) return Promise.resolve(config)
} }
return window.fetch('http://192.168.3.171:7300/mock/617918601072f92988f05a11/base/scrm-wx-work-sop-config', {}).then(res => res.json()) return window.fetch('http://oss-config.dev.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-sop-config', {}).then(res => res.json())
// return window.fetch('https://oss-config.test.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-activity-config', {}).then(res => res.json()) // return window.fetch('https://oss-config.test.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-activity-config', {}).then(res => res.json())
} }
export const cfg = { export const cfg = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!