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

修改接口

上级 8c8bcbd1
...@@ -79,7 +79,7 @@ const user = { ...@@ -79,7 +79,7 @@ const user = {
getWxUserInfo({ state, commit }, code) { getWxUserInfo({ state, commit }, code) {
const type = 15; const type = 15;
fetch({ fetch({
url: getBaseUrl(`wechats/users/info/${type}/${code}`), url: `https://sc.yunqueyi.com/wechats/users/info/${type}/${code}`,
method: 'get', method: 'get',
headers: { token: state.token } headers: { token: state.token }
}).then(res => { }).then(res => {
......
...@@ -304,7 +304,7 @@ export default { ...@@ -304,7 +304,7 @@ export default {
if (res.code == "000000") { if (res.code == "000000") {
let redirectUrl = this.getRedirectUrl(orderId); let redirectUrl = this.getRedirectUrl(orderId);
let jumpLink = res.data + '&redirect_url=' + encodeURIComponent(redirectUrl); let jumpLink = res.data + '&redirect_url=' + encodeURIComponent(redirectUrl);
window.location.href = jumpLink; // window.location.href = jumpLink;
} else { } else {
this.$toast(res.message); this.$toast(res.message);
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册