验证码添加图形验证

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

@@ -67,16 +67,19 @@
that.nextFlag=0
}
},
sendVercodeAgain(){
async sendVercodeAgain(){
var that = this;
that.sendAgainFlag=1
await that.authToken();
setTimeout(() => {
uni.request({
url: that.serverUrl+'/user/authCode',
method:'POST',
data: {
phone:that.phoneNumTrue,
devCode:that.cid(),
type:2
type:2,
authToken: that.authTokenId
},
header: {
'content-type': 'application/x-www-form-urlencoded'
@@ -122,6 +125,7 @@
that.second=60;
that.sendAgainFlag=0
},61000)
}, 500);
},
reset(){
this.vercode='';