部分修改

This commit is contained in:
曹前明 2022-06-25 14:42:40 +08:00
parent 5eaf074413
commit d80052fc8e
2 changed files with 2 additions and 2 deletions

2
app.js
View File

@ -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/',

View File

@ -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', //
},