验证码添加图形验证
This commit is contained in:
@@ -68,20 +68,25 @@
|
||||
that.nextFlag=0
|
||||
}
|
||||
},
|
||||
sendVercodeAgain(){
|
||||
async sendVercodeAgain(){
|
||||
var that = this;
|
||||
if(that.second!=60){
|
||||
return;
|
||||
}
|
||||
that.sendAgainFlag=1
|
||||
if(that.judgeLogin()){
|
||||
await that.authToken();
|
||||
setTimeout(() => {
|
||||
|
||||
|
||||
uni.request({
|
||||
url: that.serverUrl+'/user/authCode',
|
||||
method:'POST',
|
||||
data: {
|
||||
phone:uni.getStorageSync('userInfo').phone,
|
||||
devCode:that.cid(),
|
||||
type:5
|
||||
type:5,
|
||||
authToken: that.authTokenId
|
||||
},
|
||||
header: {
|
||||
'content-type': 'application/x-www-form-urlencoded'
|
||||
@@ -125,6 +130,7 @@
|
||||
});
|
||||
}
|
||||
});
|
||||
}, 500);
|
||||
}
|
||||
},
|
||||
reset(){
|
||||
|
||||
Reference in New Issue
Block a user