feat(wxapi): 新增发布能力相关接口

This commit is contained in:
Fu Diwei
2021-10-21 21:31:52 +08:00
parent 6b693ea2b8
commit 9c42ab19d1
25 changed files with 679 additions and 14 deletions

View File

@@ -0,0 +1,23 @@
<xml>
<ToUserName><![CDATA[gh_4d00ed8d6399]]></ToUserName>
<FromUserName><![CDATA[oV5CrjpxgaGXNHIQigzNlgLTnwic]]></FromUserName>
<CreateTime>1481013459</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[FREEPUBLISHJOBFINISH]]></Event>
<PublishEventInfo>
<publish_id>2247503051</publish_id>
<publish_status>0</publish_status>
<article_id>
<![CDATA[b5O2OUs25HBxRceL7hfReg-U9QGeq9zQjiDvyWP4Hq4]]>
</article_id>
<article_detail>
<count>1</count>
<item>
<idx>1</idx>
<article_url><![CDATA[ARTICLE_URL]]></article_url>
</item>
</article_detail>
<fail_idx>1</fail_idx>
<fail_idx>2</fail_idx>
</PublishEventInfo>
</xml>

View File

@@ -0,0 +1,5 @@
{
"offset": 0,
"count": 0,
"no_content": 0
}

View File

@@ -0,0 +1,27 @@
{
"total_count": 0,
"item_count": 0,
"item": [
{
"article_id": "ARTICLE_ID",
"content": {
"news_item": [
{
"title": "TITLE",
"author": "AUTHOR",
"digest": "DIGEST",
"content": "CONTENT",
"content_source_url": "CONTENT_SOURCE_URL",
"thumb_media_id": "THUMB_MEDIA_ID",
"show_cover_pic": 1,
"need_open_comment": 0,
"only_fans_can_comment": 0,
"url": "URL",
"is_deleted": false
}
]
},
"update_time": 0
}
]
}

View File

@@ -0,0 +1,4 @@
{
"article_id": "ARTICLE_ID",
"index": 1
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"errmsg": "ERRMSG"
}

View File

@@ -0,0 +1,17 @@
{
"news_item": [
{
"title": "TITLE",
"author": "AUTHOR",
"digest": "DIGEST",
"content": "CONTENT",
"content_source_url": "CONTENT_SOURCE_URL",
"thumb_media_id": "THUMB_MEDIA_ID",
"show_cover_pic": 1,
"need_open_comment": 0,
"only_fans_can_comment": 0,
"url": "URL",
"is_deleted": false
}
]
}

View File

@@ -0,0 +1,3 @@
{
"publish_id": "100000001"
}

View File

@@ -0,0 +1,15 @@
{
"publish_id": "100000001",
"publish_status": 0,
"article_id": "ARTICLE_ID",
"article_detail": {
"count": 1,
"item": [
{
"idx": 1,
"article_url": "ARTICLE_URL"
}
]
},
"fail_idx": []
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"publish_id": "100000001"
}