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