引入配置信息 接口获取配置信息 api.getWxConfigParams({ corpId: Config.corpId, ticketType: 2, url: encodeURIComponent(window.location.href.split('#')[0]), f: 1// 游客态可以查询 }).then(res => { if (res.code === 0) { const { appId, nonceStr, signature, timeStamp } = res.data //执行第二步 } else