From 25be548cfdc67453c85ce71e1e4154637f961b63 Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Tue, 2 Jul 2024 14:27:44 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=EF=BC=9A=E5=BF=98=E8=AE=B0=E5=AF=86=E7=A0=81?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js | 7 +++---- .../LearunApp-2.2.0/pages/forgotPassword.vue | 8 +++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js index 0d76168da..aeed5ff84 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js @@ -7,11 +7,10 @@ export default { "enableSignUp": true, //请求数据的接口地址;可以配置多个,开发环境下登录页会出现选择菜单供您选择 "apiHost": [ - "http://112.45.152.8:8083/" - // "http://123.57.209.16:31173/" - // "http://112.45.152.8:8083/" + // "http://112.45.152.8:8083/" + "http://192.168.10.56:8088/" ], - "webHost":"http://112.45.152.8:8000/", + "webHost":"http://192.168.10.56:8087/", // "webHost":"http://112.45.152.8:8000/", // 开发环境下自动填充登录账号密码,与接口地址一一对应,只在开发环境下显示 "devAccount": [ diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/forgotPassword.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/forgotPassword.vue index 47648c749..f92cbe6c9 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/forgotPassword.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/forgotPassword.vue @@ -49,6 +49,7 @@ export default{ newpassword:'', newpassword1:'', }, + codeType:'forgetpwd', } }, destroyed() { @@ -65,7 +66,7 @@ export default{ return } this.LOADING() - this.HTTP_POST('learun/adms/usernologin/sendcode',{username:this.phone}).then(res=>{ + this.HTTP_POST('learun/adms/usernologin/sendcode',{username:this.phone,codeType:this.codeType}).then(res=>{ this.HIDE_LOADING() if(!res){ return @@ -90,9 +91,10 @@ export default{ return } this.LOADING('正在校验...') - let codeResult = await this.HTTP_POST('learun/adms/user/logincodeverify', { + let codeResult = await this.HTTP_POST('learun/adms/usernologin/logincodeverify', { mobile: this.phone, - verifycode: this.verifycode + verifycode: this.verifycode, + codeType: this.codeType }) this.HIDE_LOADING() if(!codeResult)return