|
@@ -153,10 +153,21 @@
|
|
mui.toast('请获取并填写验证码');
|
|
mui.toast('请获取并填写验证码');
|
|
} else {
|
|
} else {
|
|
this.isLoading = true;
|
|
this.isLoading = true;
|
|
|
|
+ var openid=this.openId;
|
|
|
|
+ if(!openid){
|
|
|
|
+ openid=window.localStorage.getItem("xpgj_xsy_wx_openid");
|
|
|
|
+
|
|
|
|
+ if(openid){
|
|
|
|
+ openid=JSON.parse(openid);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(!openid){
|
|
|
|
+ return
|
|
|
|
+ }
|
|
API_Person.validateCode({
|
|
API_Person.validateCode({
|
|
personId: this.personId,
|
|
personId: this.personId,
|
|
verifyCode: this.verifyCode,
|
|
verifyCode: this.verifyCode,
|
|
- openId: this.openId,
|
|
|
|
|
|
+ openId: openid,
|
|
telephone: this.subForm.phone,
|
|
telephone: this.subForm.phone,
|
|
}).then(response => {
|
|
}).then(response => {
|
|
if (response.token) {
|
|
if (response.token) {
|