mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 01:58:14 +08:00
feat(work): 新增微信客服知识库相关接口
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"name": "分组名"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"group_id": "GROUP_ID"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"group_id": "GROUP_ID"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"cursor": "CURSOR",
|
||||
"limit": 100,
|
||||
"group_id": "GROUP_ID"
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_cursor": "NEXT_CURSOR",
|
||||
"has_more": 1,
|
||||
"group_list": [
|
||||
{
|
||||
"group_id": "GROUP_ID",
|
||||
"name": "NAME",
|
||||
"is_default": 1
|
||||
},
|
||||
{
|
||||
"group_id": "GROUP_ID",
|
||||
"name": "NAME",
|
||||
"is_default": 0
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"group_id": "GROUP_ID",
|
||||
"name": "分组名"
|
||||
}
|
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"group_id": "GROUP_ID",
|
||||
"question": {
|
||||
"text": {
|
||||
"content": "主问题"
|
||||
}
|
||||
},
|
||||
"similar_questions": {
|
||||
"items": [
|
||||
{
|
||||
"text": {
|
||||
"content": "相似问题1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": {
|
||||
"content": "相似问题2"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"answers": [
|
||||
{
|
||||
"text": {
|
||||
"content": "问题的回复"
|
||||
},
|
||||
"attachments": [
|
||||
{
|
||||
"msgtype": "image",
|
||||
"image": {
|
||||
"media_id": "MEDIA_ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "video",
|
||||
"video": {
|
||||
"media_id": "MEDIA_ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "link",
|
||||
"link": {
|
||||
"title": "消息标题",
|
||||
"pic_url": "https://example.pic.com/path",
|
||||
"desc": "消息描述",
|
||||
"url": "https://example.link.com/path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "miniprogram",
|
||||
"miniprogram": {
|
||||
"title": "欢迎报名夏令营",
|
||||
"thumb_media_id": "THUMB_MEDIA_ID",
|
||||
"appid": "wx8bd80126147dfAAA",
|
||||
"pagepath": "/path/index.html"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"intent_id": "INTENT_ID"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"intent_id": "INTENT_ID"
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"cursor": "CURSOR",
|
||||
"limit": 100,
|
||||
"group_id": "GROUP_ID",
|
||||
"intent_id": "INTENT_ID"
|
||||
}
|
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_cursor": "NEXT_CURSOR",
|
||||
"has_more": 1,
|
||||
"intent_list": [
|
||||
{
|
||||
"group_id": "GROUP_ID",
|
||||
"intent_id": "INTENT_ID",
|
||||
"question": {
|
||||
"text": {
|
||||
"content": "主问题"
|
||||
}
|
||||
},
|
||||
"similar_questions": {
|
||||
"items": [
|
||||
{
|
||||
"text": {
|
||||
"content": "相似问题1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": {
|
||||
"content": "相似问题2"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"answers": [
|
||||
{
|
||||
"text": {
|
||||
"content": "问题的回复"
|
||||
},
|
||||
"attachments": [
|
||||
{
|
||||
"msgtype": "image",
|
||||
"image": {
|
||||
"name": "图片(仅返回名字).jpg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "video",
|
||||
"video": {
|
||||
"name": "视频的文件名"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "link",
|
||||
"link": {
|
||||
"title": "消息标题",
|
||||
"pic_url": "https://example.pic.com/path",
|
||||
"desc": "消息描述",
|
||||
"url": "https://example.link.com/path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "miniprogram",
|
||||
"miniprogram": {
|
||||
"title": "欢迎报名夏令营",
|
||||
"appid": "wx8bd80126147dfAAA",
|
||||
"pagepath": "/path/index.html"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"intent_id": "INTENT_ID",
|
||||
"question": {
|
||||
"text": {
|
||||
"content": "主问题"
|
||||
}
|
||||
},
|
||||
"similar_questions": {
|
||||
"items": [
|
||||
{
|
||||
"text": {
|
||||
"content": "相似问题1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"text": {
|
||||
"content": "相似问题2"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"answers": [
|
||||
{
|
||||
"text": {
|
||||
"content": "问题的回复"
|
||||
},
|
||||
"attachments": [
|
||||
{
|
||||
"msgtype": "image",
|
||||
"image": {
|
||||
"media_id": "MEDIA_ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "video",
|
||||
"video": {
|
||||
"media_id": "MEDIA_ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "link",
|
||||
"link": {
|
||||
"title": "消息标题",
|
||||
"pic_url": "https://example.pic.com/path",
|
||||
"desc": "消息描述",
|
||||
"url": "https://example.link.com/path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "miniprogram",
|
||||
"miniprogram": {
|
||||
"title": "欢迎报名夏令营",
|
||||
"thumb_media_id": "THUMB_MEDIA_ID",
|
||||
"appid": "wx8bd80126147dfAAA",
|
||||
"pagepath": "/path/index.html"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user