From 88cab86b63833e23fb2bcdba54cb636339b5d50e Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 29 七月 2024 13:55:31 +0800
Subject: [PATCH] #
---
pages/login/login.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/pages/login/login.vue b/pages/login/login.vue
index a92e8d4..f241d2e 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -190,6 +190,7 @@
}
},
onLogin: function (){
+ console.log(this.baseHttp + this.baseIP + ':' +this.basePORT + this.baseUrl + '/login.action');
if(!this.userName || this.userName.length==0){
uni.showToast({title: '璇峰~鍐欒处鍙�',icon: "none"})
return;
@@ -199,10 +200,11 @@
return;
}
uni.showLoading();
+
uni.request({
url: this.baseHttp + this.baseIP + ':' +this.basePORT + this.baseUrl + '/login.action',
data: {
- mobile:this.userName,
+ username:this.userName,
password:md5.hex_md5(this.password)
},
header: {
--
Gitblit v1.9.1