[TOC]
简要描述
请求URL
http://localhost:30001/FowardXMLMsg
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
towxid |
是 |
string |
接收方微信ID/群ID |
imgpath |
是 |
string |
封面图片路径 |
xml |
是 |
string |
xml内容,只能是一行,不能有换行符 |
发送示例
{
"type":"21",
"towxid": "filehelper",
"imgpath": "C:\\1.jpg",
"xml": "<msg><fromusername>thexed</fromusername><scene>0</scene><commenturl></commenturl><appmsg appid=\"wxf9c6a0ba5b7447a3\" sdkver=\"\"><title>初酱一番赏 2000发大套测试 第2箱</title><des></des><action>view</action><type>33</type><showtype>0</showtype><content></content><url>https://mp.weixin.qq.com/mp/waerrpage?appid=wxf9c6a0ba5b7447a3&type=upgrade&upgradetype=3#wechat_redirect</url><dataurl></dataurl><lowurl></lowurl><lowdataurl></lowdataurl><recorditem></recorditem><thumburl></thumburl><messageaction></messageaction><md5>c2fd5f9eb3ce443f19be0fc072079308</md5><extinfo></extinfo><sourceusername></sourceusername><sourcedisplayname>修罗一番赏</sourcedisplayname><commenturl></commenturl><appattach><totallen>0</totallen><attachid></attachid><emoticonmd5></emoticonmd5><fileext>jpg</fileext><cdnthumburl>3052020100044b30490201000204e740352a02033d12000204c9cf1baf0204623dbe63042430653238613438632d396166372d343538632d623866312d3365656361656533666565630204011400030201000400</cdnthumburl><aeskey>0a6e749da80eb900faa4499c85007177</aeskey><cdnthumbaeskey>0a6e749da80eb900faa4499c85007177</cdnthumbaeskey><encryver>1</encryver><cdnthumblength>922129</cdnthumblength><cdnthumbheight>100</cdnthumbheight><cdnthumbwidth>100</cdnthumbwidth></appattach><weappinfo><pagepath>pages/reward/ipInfo/ipInfo.html?id=61&no=2</pagepath><username>gh_51966c36ee5e@app</username><appid>wxf9c6a0ba5b7447a3</appid><type>2</type><weappiconurl>http: //mmbiz.qpic.cn/mmbiz_png/h3Hkru3Cpqibo4G3PIkb4tEfDs6DicBpnXQzo1DoMXPJTP6VpbfGIXhDKvx6Qv5UpEwADQ0Wp9MY2IDMU96cLRWg/640?wx_fmt=png&wxfrom=200</weappiconurl><appservicetype>0</appservicetype><shareId>2_wxf9c6a0ba5b7447a3_1612564022_1648213287_1</shareId><pkginfo><type>2</type><md5></md5></pkginfo></weappinfo><websearch /></appmsg><appinfo><version>1</version><appname>修罗一番赏</appname></appinfo></msg>"
}
返回示例
{
"success": "1",
}
返回参数说明
参数名 |
类型 |
说明 |
success |
string |
成功返回1 失败返回 0 |
备注