|
|
@@ -436,6 +436,7 @@
|
|
|
bId: null,
|
|
|
env: '',
|
|
|
toshopData: {
|
|
|
+ id: null,
|
|
|
banner: '',
|
|
|
name: '',
|
|
|
target: '',
|
|
|
@@ -482,7 +483,6 @@
|
|
|
if (!this.getQueryParam('externalUserid')) {
|
|
|
this.gerQwAuth(this.bId);
|
|
|
} else {
|
|
|
- this.getCityLevel()
|
|
|
this.lightenShare()
|
|
|
}
|
|
|
} else {
|
|
|
@@ -546,7 +546,13 @@
|
|
|
},
|
|
|
// 获取城市数据
|
|
|
getCityLevel () {
|
|
|
- fetch('https://wl-1306604067.cos.ap-guangzhou.myqcloud.com/production/ct/103548289110001/1742009720857/four-province.json')
|
|
|
+ let url = ''
|
|
|
+ if (this.toshopData.id == 115399319210021) {
|
|
|
+ url = 'https://wl-1306604067.cos.ap-guangzhou.myqcloud.com/production/ct/103548289110001/1744104152989/five-province.json'
|
|
|
+ } else {
|
|
|
+ url = 'https://wl-1306604067.cos.ap-guangzhou.myqcloud.com/production/ct/103548289110001/1742009720857/four-province.json'
|
|
|
+ }
|
|
|
+ fetch(url)
|
|
|
.then(res => {
|
|
|
return res.json()
|
|
|
}).then(result => {
|
|
|
@@ -630,6 +636,7 @@
|
|
|
let { data, code, msg } = result
|
|
|
if (code === 1) {
|
|
|
this.toshopData = data
|
|
|
+ this.getCityLevel()
|
|
|
if (data.client.state === 1) {
|
|
|
// 未提交表单
|
|
|
this.step = 1
|