Commit 3752a6df by 前端

更改mock线上配置

1 parent 1cf8a6e2
......@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = true) {
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// }
let params = { moduleName: 'ordermanage', mockUrl: 'https://oss-config.glsx.com.cn/mock/64423183e60bb539e414ec67/ordermanage/config', env: 'test', httpOptions: { Headers: { refererurl: location.href }, request: { timeout: 30000 } } }
let params = { moduleName: 'ordermanage', mockUrl: 'https://oss-config.glsx.com.cn/mock/64560a989bfdc8942feaa6f1/ordermanage/config', httpOptions: { Headers: { refererurl: location.href }, request: { timeout: 30000 } } }
return utils.getConfig(params)
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/616d28231072f92988f059fb/home/config')
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=home').then(res => res)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!