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,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"
}