验证码添加图形验证
This commit is contained in:
@@ -115,15 +115,18 @@
|
||||
});
|
||||
}
|
||||
},
|
||||
getVerCode(e){
|
||||
async getVerCode(e){
|
||||
var that = this;
|
||||
await that.authToken();
|
||||
setTimeout(() => {
|
||||
uni.request({
|
||||
url: that.serverUrl+'/user/authCode',
|
||||
method:'POST',
|
||||
data: {
|
||||
phone:that.phoneNum,
|
||||
devCode:that.cid(),
|
||||
type:0
|
||||
type:0,
|
||||
authToken: that.authTokenId
|
||||
},
|
||||
header: {
|
||||
'content-type': 'application/x-www-form-urlencoded'
|
||||
@@ -157,6 +160,7 @@
|
||||
});
|
||||
}
|
||||
});
|
||||
}, 500);
|
||||
this.readSecond();
|
||||
},
|
||||
readSecond(){
|
||||
|
||||
Reference in New Issue
Block a user