diff --git a/app.js b/app.js index 01b05f9..ad406d1 100644 --- a/app.js +++ b/app.js @@ -124,7 +124,7 @@ App({ openid:null }, serverUrl: 'https://safeyun.ctcshe.com/', - //serverUrl: 'http://127.0.0.1:8000/', + // serverUrl: 'http://127.0.0.1:2222/', //serverUrl: 'http://10.21.28.148:8000/', //serverUrl: 'http://192.168.0.103:8000/', //serverUrl:'http://10.0.11.195:8000/', diff --git a/pages/bind/binduser.js b/pages/bind/binduser.js index a9371bd..17740b5 100644 --- a/pages/bind/binduser.js +++ b/pages/bind/binduser.js @@ -105,7 +105,7 @@ Page({ getUserbasic:function(){ var that = this wx.request({ - url: getApp().globalData.serverUrl + 'api/user?a=get_user_from_username&username='+that.data.username, + url: getApp().globalData.serverUrl + 'api/get_user_from_username?username='+that.data.username, header: { 'content-type': 'application/json', // },