Commit 77f35ba8 by 李伟康

修改测试mock

1 parent 56fc616d
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
module.exports = { module.exports = {
envVersion: 'trial', envVersion: 'trial',
request: { request: {
baseURL: 'http://scrm.dev.glsx.com.cn', // 本地测试项目地址, baseURL: 'http://scrm.test.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间 // 设置超时时间
timeout: 180000, timeout: 180000,
// 携带凭证 // 携带凭证
......
...@@ -17,6 +17,7 @@ export const fetchConfig = function(isEnv = true) { ...@@ -17,6 +17,7 @@ export const fetchConfig = function(isEnv = true) {
} }
/**测试mock */ /**测试mock */
return window.fetch('http://oss-config.dev.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-psd-config', {}).then(res => res.json()) return window.fetch('http://oss-config.dev.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-psd-config', {}).then(res => res.json())
/**生产mock */ // return window.fetch('http://oss-config.test.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-psd-config', {}).then(res => res.json())
} }
export const cfg = { export const cfg = {
install(vue, config) { install(vue, config) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!