提交 aad2d5b7 编写于 作者: guofeng.chen's avatar guofeng.chen

修改微信appid

上级 9791a883
......@@ -47,7 +47,8 @@ export const envConfig = {
webPageUrl: 'https://dev-phome.yunqueyi.com/',
hactiveUrl: 'https://dev-hactive.yunqueyi.com',
fileUrl: 'https://dev-www.yunqueyi.com',
appId: 'wxf4e66242d31c81c2', // 用于微信授权登录
// appId: 'wxf4e66242d31c81c2', // 用于微信授权登录
appId: 'wx2c577552a2d28550', // 用于微信授权登录
},
test: {
baseUrl: 'https://test1-sc.yunqueyi.com/',
......
......@@ -113,6 +113,10 @@ export default {
this.returnUrl = this.$route.query.returnUrl;
this.getGoodsInfo();
this.getTabW();
const { token, info } = this.$store.state.user;
if (token && !info.id) {
this.$store.dispatch('getUserInfo');
}
// 数量加减
this.curtGoodsNum = this.goodsNum;
this.countTotalPrice = debounce(this.getTotalPrice, 500);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册