You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
350 B
11 lines
350 B
let SrcVerify ={
|
|
ocr: function(url){
|
|
let img = convertBase64Image(url).replace('data:image/jpeg;base64,','');
|
|
let code = post("http://124.221.241.174:9898/ocr/b64/text", {headers: {"Content-Type": "application/json"}, body: img});
|
|
log('识别验证码:'+code);
|
|
return code;
|
|
},
|
|
slide: function(){
|
|
|
|
}
|
|
} |