請(qǐng)求URL:
http://域名地址/snsSend
請(qǐng)求方式:
POST
請(qǐng)求頭Headers:
Content-Type:application/json
Authorization:login接口返回?參數(shù):
參數(shù)名必選類型說(shuō)明
wId是String登錄實(shí)例標(biāo)識(shí)
content是String文本內(nèi)容
groupUser否String對(duì)誰(shuí)可見(jiàn)(傳微信id,多個(gè)用,分隔)
blackList否String對(duì)誰(shuí)不可見(jiàn)(傳微信id,多個(gè)用,分隔)
請(qǐng)求參數(shù)示例
{"wId":"0000016e-6343-089e-0001-e2ef939176f6","content":"這是一條文本朋友圈消息"}
成功返回示例
{"message":"成功","code":"1000","data":{"id":"13200538655176208452","userName":"wxid_6mq1pu8ngj3r22","createTime":1573626834,"objectDesc":"這是一條文本朋友圈消息"}}
錯(cuò)誤返回示例
{"message":"失敗","code":"1001","data":null}
返回?cái)?shù)據(jù):
參數(shù)名類型說(shuō)明
codestring1000成功,1001失敗
msgString反饋信息
data
idStringID
userNameString微信id
createTimeString發(fā)送時(shí)間
objectDescString內(nèi)容
測(cè)試地址:https://wkteam.cn/