...
|
...
|
@@ -167,6 +167,25 @@ export default { |
|
|
}
|
|
|
});
|
|
|
},
|
|
|
async setWebviewDomains({dispatch}, {authAppId}) {
|
|
|
const token = await dispatch('fetchShopToken', {appid: authAppId});
|
|
|
|
|
|
return await this.$nodeApi.post('/wx', {
|
|
|
url: `/wxa/setwebviewdomain?access_token=${token}`,
|
|
|
method: 'post',
|
|
|
params: {
|
|
|
action: 'set',
|
|
|
webviewdomain: [
|
|
|
'https://m.yohobuy.com',
|
|
|
'https://union.yoho.cn',
|
|
|
'https://ad.yoho.cn',
|
|
|
'https://activity.yoho.cn',
|
|
|
'https://action.yoho.cn',
|
|
|
'https://feature.yoho.cn'
|
|
|
]
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
async fetchWxRelease({dispatch}, {authAppId}) {
|
|
|
const token = await dispatch('fetchShopToken', {appid: authAppId});
|
|
|
|
...
|
...
|
|