部分修改
This commit is contained in:
parent
5eaf074413
commit
d80052fc8e
2
app.js
2
app.js
|
@ -124,7 +124,7 @@ App({
|
||||||
openid:null
|
openid:null
|
||||||
},
|
},
|
||||||
serverUrl: 'https://safeyun.ctcshe.com/',
|
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://10.21.28.148:8000/',
|
||||||
//serverUrl: 'http://192.168.0.103:8000/',
|
//serverUrl: 'http://192.168.0.103:8000/',
|
||||||
//serverUrl:'http://10.0.11.195:8000/',
|
//serverUrl:'http://10.0.11.195:8000/',
|
||||||
|
|
|
@ -105,7 +105,7 @@ Page({
|
||||||
getUserbasic:function(){
|
getUserbasic:function(){
|
||||||
var that = this
|
var that = this
|
||||||
wx.request({
|
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: {
|
header: {
|
||||||
'content-type': 'application/json', //
|
'content-type': 'application/json', //
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue