常见问题
框架上添加了微信,日志显示已启动,但是微信管理不显示
火绒安全软件
拦截问题,退掉火绒
即可
win7用不了,提示“请联系框架官方技术人员”
TLS版本问题,下载我们网盘里的Win7用不了运行并重启MicrosoftEasyFix51044.zip
运行并重启电脑即可
发文本消息\n换行是两行?多了一行”
如果\n
是两行,那么用\r
试试
发送文件提示文件不存在
如果D:\\daen\\restart.sh
不行,就用D:/daen/restart.sh
这种斜杠试试
收到表情包如何保存和转发?
收到表情包消息时,是一段xml,例如如下
<msg><emoji fromusername = "wxid_3sq4tklb6c3121" tousername = "wxid_nq6r0w9v12612" type="2" idbuffer="media:0_0" md5="57bd9feb4a1d3b5965a81fea2e6be4c6" len = "490865" productid="" androidmd5="57bd9feb4a1d3b5965a81fea2e6be4c6" androidlen="490865" s60v3md5 = "57bd9feb4a1d3b5965a81fea2e6be4c6" s60v3len="490865" s60v5md5 = "57bd9feb4a1d3b5965a81fea2e6be4c6" s60v5len="490865" cdnurl = "http://wxapp.tc.qq.com/262/20304/stodownload?m=57bd9feb4a1d3b5965a81fea2e6be4c6&filekey=30350201010421301f0202010604025348041057bd9feb4a1d3b5965a81fea2e6be4c60203077d71040d00000004627466730000000132&hy=SH&storeid=2630e8615000b81c3000000000000010600004f5053481d364b40b7da51f48&bizid=1023" designerid = "" thumburl = "" encrypturl = "http://wxapp.tc.qq.com/262/20304/stodownload?m=41dbe3fb6dd5f718a05833667fa31eec&filekey=30350201010421301f020201060402535a041041dbe3fb6dd5f718a05833667fa31eec0203077d80040d00000004627466730000000132&hy=SZ&storeid=2630e8616000453c3000000000000010600004f50535a11f2788096831e218&bizid=1023" aeskey= "9fbe6d9b7b543bb10f9352a1cb8b127d" externurl = "http://wxapp.tc.qq.com/262/20304/stodownload?m=8487d153838af2ffc3eef40cf037f956&filekey=30350201010421301f020201060402534804108487d153838af2ffc3eef40cf037f9560203016b50040d00000004627466730000000131&hy=SH&storeid=32303232303531363139323632313030303766313864613563373530373461383634623430623030303030313036&bizid=1023" externmd5 = "52f21d781fb332e0f793665605005514" width= "240" height= "240" tpurl= "" tpauthkey= "" attachedtext= "" attachedtextcolor= "" lensid= "" emojiattr= "" linkid= "" desc= "" ></emoji> <gameext type="0" content="0" ></gameext></msg>
将其中的cdnurl
解析出来,得到如下
http://wxapp.tc.qq.com/262/20304/stodownload?m=57bd9feb4a1d3b5965a81fea2e6be4c6&filekey=30350201010421301f0202010604025348041057bd9feb4a1d3b5965a81fea2e6be4c60203077d71040d00000004627466730000000132&hy=SH&storeid=2630e8615000b81c3000000000000010600004f5053481d364b40b7da51f48&bizid=1023
然后将&
替换成&
,得到如下
http://wxapp.tc.qq.com/262/20304/stodownload?m=57bd9feb4a1d3b5965a81fea2e6be4c6&filekey=30350201010421301f0202010604025348041057bd9feb4a1d3b5965a81fea2e6be4c60203077d71040d00000004627466730000000132&hy=SH&storeid=2630e8615000b81c3000000000000010600004f5053481d364b40b7da51f48&bizid=1023
这个链接就是表情包的在线链接了,直接下载该链接即可,也可以用浏览器打开查看效果
收到分享的公众号推文、卡片链接如何查看里面的内容?
收到公众号推文、卡片链接时,是一段xml,例如如下
<?xml version="1.0"?>
<msg>
<appmsg appid="" sdkver="0">
<title>山东省公安工作会议召开</title>
<type>5</type>
<url>http://mp.weixin.qq.com/s?__biz=MzU1NzcxNjE3OA==&mid=2247484345&idx=1&sn=b52e011a6ebbad480e1d5016512af9f8&chksm=fc30c404cb474d12073ea70044cc42b6bf68d014ce0fbe6622eb46e5debb1f2aa17e8d0211ef&mpshare=1&scene=1&srcid=07245UtLdzf6DO9clSPti897&sharer_shareinfo=0a35dbcc02c91592fae50263abc0cc97&sharer_shareinfo_first=0a35dbcc02c91592fae50263abc0cc97#rd</url>
<appattach>
<cdnthumburl>3057020100044b304902010002043c52438f02032f9ea10204afe98a96020466a11615042436333763653437352d326330662d346530362d386666382d3231383661366535356237360204051408030201000405004c53d900</cdnthumburl>
<cdnthumbmd5>73f884ad43ec298e8d3792fcca69208c</cdnthumbmd5>
<cdnthumblength>14785</cdnthumblength>
<cdnthumbwidth>160</cdnthumbwidth>
<cdnthumbheight>160</cdnthumbheight>
<cdnthumbaeskey>2fcb272d5c72936847492ed39cef68ae</cdnthumbaeskey>
<aeskey>2fcb272d5c72936847492ed39cef68ae</aeskey>
<encryver>0</encryver>
<filekey>wxid_nq6r0w9v12612_93_1721832981</filekey>
</appattach>
<sourceusername>gh_cca004bce299</sourceusername>
<sourcedisplayname>山东微警务</sourcedisplayname>
<md5>73f884ad43ec298e8d3792fcca69208c</md5>
<webviewshared>
<jsAppId><![CDATA[]]></jsAppId>
<publisherReqId><![CDATA[3846056743]]></publisherReqId>
</webviewshared>
<mpsharetrace>
<hasfinderelement>0</hasfinderelement>
</mpsharetrace>
<mmreadershare>
<itemshowtype>0</itemshowtype>
<nativepage>0</nativepage>
<pubtime>0</pubtime>
<duration>0</duration>
<width>0</width>
<height>0</height>
<vid />
<funcflag>0</funcflag>
<ispaysubscribe>0</ispaysubscribe>
</mmreadershare>
</appmsg>
<fromusername>wxid_3sq4tklb6c3121</fromusername>
<scene>0</scene>
<appinfo>
<version>1</version>
<appname></appname>
</appinfo>
<commenturl></commenturl>
</msg>
将其中的url
解析出来,得到如下
http://mp.weixin.qq.com/s?__biz=MzU1NzcxNjE3OA==&mid=2247484345&idx=1&sn=b52e011a6ebbad480e1d5016512af9f8&chksm=fc30c404cb474d12073ea70044cc42b6bf68d014ce0fbe6622eb46e5debb1f2aa17e8d0211ef&mpshare=1&scene=1&srcid=07245UtLdzf6DO9clSPti897&sharer_shareinfo=0a35dbcc02c91592fae50263abc0cc97&sharer_shareinfo_first=0a35dbcc02c91592fae50263abc0cc97#rd
然后将&
替换成&
,得到如下
http://mp.weixin.qq.com/s?__biz=MzU1NzcxNjE3OA==&mid=2247484345&idx=1&sn=b52e011a6ebbad480e1d5016512af9f8&chksm=fc30c404cb474d12073ea70044cc42b6bf68d014ce0fbe6622eb46e5debb1f2aa17e8d0211ef&mpshare=1&scene=1&srcid=07245UtLdzf6DO9clSPti897&sharer_shareinfo=0a35dbcc02c91592fae50263abc0cc97&sharer_shareinfo_first=0a35dbcc02c91592fae50263abc0cc97#rd
这个链接就是可以直接访问的链接了,用get请求访问即可,也可以用浏览器打开查看效果
最后修改时间: 2 天前