@@ -1,6 +1,6 @@
-const ip = 'http://192.168.1.27:8686';
+//const ip = 'http://192.168.1.27:8686';
//const ip = 'http://192.168.0.101:8686';
-//const ip = 'http://114.215.150.32:8686';
+const ip = 'http://114.215.150.32:8686';
/**
* 全部接口
*/
@@ -69,6 +69,7 @@ export default {
this.$http.request({
url: this.$http.urls.login,
data:this.item,
+ method: 'POST',
success: res => {
uni.showToast({ title: '登陆成功' });
uni.setStorageSync('user', res.data.data.user);