获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
md5 和base64 生成及请求 imgkit.from_string(mail_content, 'downloads/111.png' , options={"encoding": "UTF-8"}) f = open('downloads/111.png', 'br') fcont = f.read() m2 = hashlib.md5(fcont) md5_val = m2.hexdigest() base64_data=str(base64.b64encode(fcont),encoding='utf-8') r=requests.post(url,data={"msgtype":"image","image":{"base64":base64_data,"md5":md5_val}})
企业微信机器人发送图片报media md5 not match?media md5 not match, hint: [1589186279_51_26e4b408a53bf40d91d5ccd88d1c6d18], from ip: 223.68.196.14, more info at https://open.work.weixin.qq.com/devtool/query?e=301019
2020-09-25