From d80052fc8ee867f359e3079888fb58d492b51c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Sat, 25 Jun 2022 14:42:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/bind/binduser.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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', // },