|
@@ -429,7 +429,8 @@ export default{
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
let param={
|
|
let param={
|
|
- os:'web'
|
|
|
|
|
|
+ os:'web',
|
|
|
|
+ platCode:'04031632e48cd96e',
|
|
};
|
|
};
|
|
if(this.operateType=='email'){
|
|
if(this.operateType=='email'){
|
|
param.email=this.setParam.username;
|
|
param.email=this.setParam.username;
|
|
@@ -484,23 +485,26 @@ export default{
|
|
})
|
|
})
|
|
return false;
|
|
return false;
|
|
};
|
|
};
|
|
- let param={};
|
|
|
|
|
|
+ let sparam={};
|
|
if(this.operateType=='email'){
|
|
if(this.operateType=='email'){
|
|
- param={
|
|
|
|
|
|
+ sparam={
|
|
|
|
+ // codetype:'validate',
|
|
|
|
+ param:"FzmDateTime|FzmRandom",
|
|
|
|
+ email:this.regParam.email,
|
|
codetype:'validate',
|
|
codetype:'validate',
|
|
- vparam:"FzmDateTime|FzmRandom",
|
|
|
|
- email:this.regParam.email
|
|
|
|
|
|
+ platkey:'zhaobi'
|
|
};
|
|
};
|
|
- sendEmail(this,param,(data)=>{});
|
|
|
|
|
|
+ sendEmail(this,sparam,(data)=>{});
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
- param={
|
|
|
|
|
|
+ sparam={
|
|
codetype:'validate',
|
|
codetype:'validate',
|
|
- vparam:"FzmRandom",
|
|
|
|
|
|
+ param:'FzmRandom',
|
|
mobile:this.regParam.email,
|
|
mobile:this.regParam.email,
|
|
- area:this.area
|
|
|
|
|
|
+ area:this.area,
|
|
|
|
+ platkey:'zhaobi',
|
|
};
|
|
};
|
|
- sendCode(this,param,(data)=>{});
|
|
|
|
|
|
+ sendCode(this,sparam,(data)=>{});
|
|
}
|
|
}
|
|
},
|
|
},
|
|
//登录时~发送验证码
|
|
//登录时~发送验证码
|
|
@@ -579,8 +583,8 @@ export default{
|
|
'password':this.regParam.password,
|
|
'password':this.regParam.password,
|
|
'code':this.regParam.code,
|
|
'code':this.regParam.code,
|
|
'type':"email",
|
|
'type':"email",
|
|
- 'checkmethod':"data",
|
|
|
|
- 'platform':'fx66',
|
|
|
|
|
|
+ // 'checkmethod':"data",
|
|
|
|
+ // 'platform':'fx66',
|
|
};
|
|
};
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
@@ -588,10 +592,10 @@ export default{
|
|
'mobile':this.regParam.email,
|
|
'mobile':this.regParam.email,
|
|
'password':this.regParam.password,
|
|
'password':this.regParam.password,
|
|
'code':this.regParam.code,
|
|
'code':this.regParam.code,
|
|
- 'checkmethod':"data",
|
|
|
|
|
|
+ // 'checkmethod':"data",
|
|
'type':"sms",
|
|
'type':"sms",
|
|
'area':this.area,
|
|
'area':this.area,
|
|
- 'platform':'fx66',
|
|
|
|
|
|
+ // 'platform':'fx66',
|
|
};
|
|
};
|
|
}
|
|
}
|
|
this.regLoad=true;
|
|
this.regLoad=true;
|
|
@@ -638,6 +642,7 @@ export default{
|
|
'redirect_uri':'http://33.cn',
|
|
'redirect_uri':'http://33.cn',
|
|
'os':'web',
|
|
'os':'web',
|
|
'platform':'fx66',
|
|
'platform':'fx66',
|
|
|
|
+ 'broker_code':'04031632e48cd96e'
|
|
};
|
|
};
|
|
if(this.operateType=='mobile'){
|
|
if(this.operateType=='mobile'){
|
|
param.type="sms";
|
|
param.type="sms";
|
|
@@ -667,6 +672,12 @@ export default{
|
|
this.buttonLoad=false;
|
|
this.buttonLoad=false;
|
|
if(data.code==200){
|
|
if(data.code==200){
|
|
this.getUserInfo()
|
|
this.getUserInfo()
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: '成功',
|
|
|
|
+ message: '登录成功',
|
|
|
|
+ type: 'success',
|
|
|
|
+ duration:'1500'
|
|
|
|
+ })
|
|
//this.$router.push("/index");
|
|
//this.$router.push("/index");
|
|
//this.userInfo.username = localStorage.getItem('block_fxeesusername');
|
|
//this.userInfo.username = localStorage.getItem('block_fxeesusername');
|
|
}
|
|
}
|