ソースを参照

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

西昌分支
dyy 5ヶ月前
コミット
25be548cfd
2個のファイルの変更8行の追加7行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

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


読み込み中…
キャンセル
保存