收藏
回答

微信硬件平台-openApi-微信推送给服务器的图片如何解析?

一、背景

 关于文档 https://iot.weixin.qq.com/wiki/new/index.html?page=1-2

文档内容:

 二、当前的问题  已经开启openApi,打开的微信内容除去图片(文件、视频等)都可以直接获取得到。但图片获得的内容如下:  

{"device_id":"gh_46370c8a4cd2_0c1f596208e6460b","device_type":"gh_46370c8a4cd2","msg_id":910760596,"msg_type":"set","services":{"wxmsg_file":{"type":"","name":"","size":0,"md5":"","download_url":"http://wxapp.tc.qq.com/202/20303/stodownload?filekey=30350201010421301f020200ca040253480410a202f5a87f4efc1d14e2ffb5bf63fc0502030369e0040d00000004627466730000000131&hy=SH&storeid=32303231303731323134343734303030306463636535356231653131323131333637623430623030303030306361&bizid=1023"},"wxmsg_image":{"type":"","name":"","size":0,"md5":"","download_url":"http://wxapp.tc.qq.com/202/20303/stodownload?filekey=30350201010421301f020200ca040253480410a202f5a87f4efc1d14e2ffb5bf63fc0502030369e0040d00000004627466730000000131&hy=SH&storeid=32303231303731323134343734303030306463636535356231653131323131333637623430623030303030306361&bizid=1023","enckey":"13591193039444439955"}},"user":"owEYSvynfdfBlZpIjqDCmh8NxaGI"}

   其中预期的图片url获得的一下内容,无法解析:


"download_url":"http://wxapp.tc.qq.com/202/20303/stodownload?filekey=30350201010421301f020200ca040253480410a202f5a87f4efc1d14e2ffb5bf63fc0502030369e0040d00000004627466730000000131&hy=SH&storeid=32303231303731323134343734303030306463636535356231653131323131333637623430623030303030306361&bizid=1023"

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容