简要描述:
转发朋友圈,直接xml数据。(对谁不可见)
请求URL:
http://域名地址/forwardSns
请求方式:
POST
请求头Headers:
Content-Type:application/json
Authorization:login接口返回
参数:
参数名必选类型说明
wId是String登录实例标识
content是String收到的xml
blackList否String对谁不可见(传微信id,多个用,分隔)
withUserList否String对谁可见 (传微信id,多个用,分隔)
请求参数示例
{"wId":"xxxxxxx","content":"xxxxxxx"}
成功返回示例
{"message":"成功","code":"1000","data":{"id":"xxxxxxx","userName":"xxxxxxx","nickName":"xxxxxxx","createTime":xxxxxxx,"objectDesc":{"xml":"xxxxxxx","len":xxxxxxx},"likeCount":xxxxxxx,"snsLikes":[],"commentCount":xxxxxxx,"snsComments":[]}}
错误返回示例
{"message":"失败","code":"1001","data":null}
返回数据:
参数名类型说明
codestring1000成功,1001失败
msgString反馈信息
idString朋友圈ID
userNameString微信id
createTimeString时间
objectDescJSONObject朋友圈内容
xmlString朋友圈xml
lenintxml 长度
commentIdint评论标识replyCommentId
replyCommentIdint回复评论标识
deleteFlagint删除标识
isNotRichTextint是否试富文本
contentString评论内容
commentIdint评论ID
snsLikesJSONArray点赞用户列表
userNameString微信id
nickNameString昵称
typeint点赞类型
createTimeint点赞时间