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