Commit 81299918 by 王志慧

广汇判断条件打开

1 parent d894522c
......@@ -11,9 +11,9 @@ export const fetchConfig = function(isEnv = true) {
// }
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
return new Http().get('https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=marketing').then(res => res.data)
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
}
export const config = {
install(vue, cfg) {
......
......@@ -116,7 +116,7 @@ export default {
merchantId: this.$globalState.session.merchantId,
crowdType: 3,
filterType: 2,
filterUEM:2,
// filterUEM:2,
pageSize: page.pageSize,
pageNum: page.pageNum
}
......
......@@ -316,7 +316,7 @@ export default {
merchantId: this.merchantId
// merchantName
}
this.showGh = window.location.host.indexOf('cgacar') == -1
this.showGh = window.location.host.indexOf('cgacar') != -1
this.dynamicFile()
this.getLoginCountFun()
},
......
......@@ -211,7 +211,7 @@ export default {
this.merchantName = this.$globalState.session.merchantName
this.accountLevel = this.$globalState.session.accountLevel
}
this.showGh = window.location.host.indexOf('cgacar') == -1
this.showGh = window.location.host.indexOf('cgacar') != -1
if (this.showGh) {
this.getCardContentFun()
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!