Commit df721397 by zhanghaozhe

更换微信登录接口

parent bb9b2dcc
...@@ -166,7 +166,7 @@ class App extends Component { ...@@ -166,7 +166,7 @@ class App extends Component {
return return
} }
http.get(`${API['home']}/m/wx_loginInfo/code/${code}?redirect=${encodeURIComponent(window.location.href)}`) http.get(`${API["passport-api"]}/m/wx_loginInfo/code/${code}?redirect=${encodeURIComponent(window.location.href)}`)
.then(res => { .then(res => {
let data = res.data let data = res.data
if (data.errno == 200) { if (data.errno == 200) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment