bug: http 方法错误, login 是post了

code
Ge Hao 7 years ago
parent a400060d5a
commit 451752ce8a
  1. 1
      app.js

@ -91,6 +91,7 @@ App({
that.globalData.token = token
that.request({
url: `${that.globalData.API_URL}/sessions/login`,
method: 'POST',
data: {code: that.globalData.code},
success: function(res) {
if (!res.data.token) {

Loading…
Cancel
Save