验证码添加图形验证

This commit is contained in:
GGJ
2025-03-21 08:39:44 +08:00
parent 6023eac4fe
commit a388dec384
31 changed files with 1089 additions and 587 deletions

View File

@@ -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(){