Quellcode durchsuchen

【修改】移动端:忘记密码;

西昌分支
dyy vor 4 Monaten
Ursprung
Commit
25be548cfd
2 geänderte Dateien mit 8 neuen und 7 gelöschten Zeilen
  1. +3
    -4
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
  2. +5
    -3
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/forgotPassword.vue

+ 3
- 4
Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js Datei anzeigen

@@ -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": [


+ 5
- 3
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/forgotPassword.vue Datei anzeigen

@@ -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


Laden…
Abbrechen
Speichern