mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
test(work): 适配新的模型测试
This commit is contained in:
parent
4f597dd965
commit
c2effa46b0
@ -0,0 +1,5 @@
|
||||
{
|
||||
"userid": "rocky",
|
||||
"cursor": "",
|
||||
"limit": 100
|
||||
}
|
@ -0,0 +1,83 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"external_contact_list": [
|
||||
{
|
||||
"external_contact": {
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACHAAA",
|
||||
"name": "李四",
|
||||
"position": "Manager",
|
||||
"avatar": "http://p.qlogo.cn/bizmail/IcsdgagqefergqerhewSdage/0",
|
||||
"corp_name": "腾讯",
|
||||
"corp_full_name": "腾讯科技有限公司",
|
||||
"type": 2,
|
||||
"gender": 1,
|
||||
"unionid": "ozynqsulJFCZ2z1aYeS8h-nuasdAAA",
|
||||
"external_profile": {
|
||||
"external_attr": [
|
||||
{
|
||||
"type": 0,
|
||||
"name": "文本名称",
|
||||
"text": {
|
||||
"value": "文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 1,
|
||||
"name": "网页名称",
|
||||
"web": {
|
||||
"url": "http://www.test.com",
|
||||
"title": "标题"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"name": "测试app",
|
||||
"miniprogram": {
|
||||
"appid": "wx8bd80126147df384",
|
||||
"pagepath": "/index",
|
||||
"title": "my miniprogram"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"follow_info": {
|
||||
"remark": "李部长",
|
||||
"description": "对接采购事务",
|
||||
"createtime": 1525779812,
|
||||
"tag_id": [ "etAJ2GCAAAXtWyujaWJHDDGi0mACHAAA" ],
|
||||
"remark_corp_name": "腾讯科技",
|
||||
"remark_mobiles": [
|
||||
"13800000001",
|
||||
"13000000002"
|
||||
],
|
||||
"oper_userid": "rocky",
|
||||
"add_way": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"external_contact": {
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACHBBB",
|
||||
"name": "王五",
|
||||
"position": "Engineer",
|
||||
"avatar": "http://p.qlogo.cn/bizmail/IcsdgagqefergqerhewSdage/0",
|
||||
"corp_name": "腾讯",
|
||||
"corp_full_name": "腾讯科技有限公司",
|
||||
"type": 2,
|
||||
"gender": 1,
|
||||
"unionid": "ozynqsulJFCZ2asdaf8h-nuasdAAA"
|
||||
},
|
||||
"follow_info": {
|
||||
"remark": "王助理",
|
||||
"description": "采购问题咨询",
|
||||
"createtime": 1525881637,
|
||||
"tag_id": [ "etAJ2GCAAAXtWyujaWJHDDGi0mACHAAA" ],
|
||||
"state": "外联二维码1",
|
||||
"oper_userid": "woAJ2GCAAAd1asdasdjO4wKmE8AabjBBB",
|
||||
"add_way": 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"next_cursor": "r9FqSqsI8fgNbHLHE5QoCP50UIg2cFQbfma3l2QsmwI"
|
||||
}
|
@ -0,0 +1 @@
|
||||
{}
|
@ -0,0 +1,76 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"external_contact": {
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACHAAA",
|
||||
"name": "李四",
|
||||
"position": "Manager",
|
||||
"avatar": "http://p.qlogo.cn/bizmail/IcsdgagqefergqerhewSdage/0",
|
||||
"corp_name": "腾讯",
|
||||
"corp_full_name": "腾讯科技有限公司",
|
||||
"type": 2,
|
||||
"gender": 1,
|
||||
"unionid": "ozynqsulJFCZ2z1aYeS8h-nuasdAAA",
|
||||
"external_profile": {
|
||||
"external_attr": [
|
||||
{
|
||||
"type": 0,
|
||||
"name": "文本名称",
|
||||
"text": {
|
||||
"value": "文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 1,
|
||||
"name": "网页名称",
|
||||
"web": {
|
||||
"url": "http://www.test.com",
|
||||
"title": "标题"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"name": "测试app",
|
||||
"miniprogram": {
|
||||
"appid": "wx8bd80126147df384",
|
||||
"pagepath": "/index",
|
||||
"title": "my miniprogram"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"follow_user": [
|
||||
{
|
||||
"userid": "rocky",
|
||||
"remark": "李部长",
|
||||
"description": "对接采购事务",
|
||||
"createtime": 1525779812,
|
||||
"tags": [
|
||||
{
|
||||
"group_name": "标签分组名称",
|
||||
"tag_name": "标签名称",
|
||||
"tag_id": "etAJ2GCAAAXtWyujaWJHDDGi0mACHAAA",
|
||||
"type": 1
|
||||
}
|
||||
],
|
||||
"remark_corp_name": "腾讯科技",
|
||||
"remark_mobiles": [
|
||||
"13800000001",
|
||||
"13000000002"
|
||||
],
|
||||
"oper_userid": "rocky",
|
||||
"add_way": 1
|
||||
},
|
||||
{
|
||||
"userid": "tommy",
|
||||
"remark": "李总",
|
||||
"description": "采购问题咨询",
|
||||
"createtime": 1525881637,
|
||||
"state": "外联二维码1",
|
||||
"oper_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACHAAA",
|
||||
"add_way": 3
|
||||
}
|
||||
],
|
||||
"next_cursor": "NEXT_CUROSR"
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"page_id": 0,
|
||||
"cursor": "",
|
||||
"page_size": 100
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"info": [
|
||||
{
|
||||
"handover_userid": "zhangsan",
|
||||
"external_userid": "woAJ2GCAAAd4uL12hdfsdasassdDmAAAAA",
|
||||
"dimission_time": 1550838571
|
||||
},
|
||||
{
|
||||
"handover_userid": "lisi",
|
||||
"external_userid": "wmAJ2GCAAAzLTI123ghsdfoGZNqqAAAA",
|
||||
"dimission_time": 1550661468
|
||||
}
|
||||
],
|
||||
"is_last": false,
|
||||
"next_cursor": "aSfwejksvhToiMMfFeIGZZ"
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"userid": [
|
||||
"zhangsan",
|
||||
"lisi"
|
||||
],
|
||||
"partyid": [
|
||||
1001,
|
||||
1002
|
||||
],
|
||||
"start_time": 1536508800,
|
||||
"end_time": 1536595200
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"behavior_data": [
|
||||
{
|
||||
"stat_time": 1536508800,
|
||||
"chat_cnt": 100,
|
||||
"message_cnt": 80,
|
||||
"reply_percentage": 60.25,
|
||||
"avg_reply_time": 1,
|
||||
"negative_feedback_cnt": 0,
|
||||
"new_apply_cnt": 6,
|
||||
"new_contact_cnt": 5
|
||||
},
|
||||
{
|
||||
"stat_time": 1536595200,
|
||||
"chat_cnt": 20,
|
||||
"message_cnt": 40,
|
||||
"reply_percentage": 100,
|
||||
"avg_reply_time": 1,
|
||||
"negative_feedback_cnt": 0,
|
||||
"new_apply_cnt": 6,
|
||||
"new_contact_cnt": 5
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1 @@
|
||||
{}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"external_userid": [
|
||||
"woAJ2GCAAAXtWyujaWJHDDGi0mACAAA",
|
||||
"wmqfasd1e1927831291723123109rAAA"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"userid": "zhangsan",
|
||||
"external_userid": "woAJ2GCAAAd1NPGHKSD4wKmE8Aabj9AAA",
|
||||
"add_tag": [ "TAGID1", "TAGID2" ],
|
||||
"remove_tag": [ "TAGID3", "TAGID4" ]
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"userid": "zhangsan",
|
||||
"external_userid": "woAJ2GCAAAd1asdasdjO4wKmE8Aabj9AAA",
|
||||
"remark": "备注信息",
|
||||
"description": "描述信息",
|
||||
"remark_company": "腾讯科技",
|
||||
"remark_mobiles": [
|
||||
"13800000001",
|
||||
"13800000002"
|
||||
],
|
||||
"remark_pic_mediaid": "MEDIAID"
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
{
|
||||
"group_id": "GROUP_ID",
|
||||
"group_name": "GROUP_NAME",
|
||||
"order": 1,
|
||||
"tag": [
|
||||
{
|
||||
"name": "TAG_NAME_1",
|
||||
"order": 1
|
||||
},
|
||||
{
|
||||
"name": "TAG_NAME_2",
|
||||
"order": 2
|
||||
}
|
||||
],
|
||||
"agentid": 1000014
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"tag_group": {
|
||||
"group_id": "TAG_GROUPID1",
|
||||
"group_name": "GOURP_NAME",
|
||||
"create_time": 1557838797,
|
||||
"order": 1,
|
||||
"tag": [
|
||||
{
|
||||
"id": "TAG_ID1",
|
||||
"name": "NAME1",
|
||||
"create_time": 1557838797,
|
||||
"order": 1
|
||||
},
|
||||
{
|
||||
"id": "TAG_ID2",
|
||||
"name": "NAME2",
|
||||
"create_time": 1557838797,
|
||||
"order": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"tag_id": [
|
||||
"TAG_ID_1",
|
||||
"TAG_ID_2"
|
||||
],
|
||||
"group_id": [
|
||||
"GROUP_ID_1",
|
||||
"GROUP_ID_2"
|
||||
],
|
||||
"agentid": 1000014
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"id": "TAG_ID",
|
||||
"name": "NEW_TAG_NAME",
|
||||
"order": 1,
|
||||
"agentid": 1000014
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"tag_id": [
|
||||
"etXXXXXXXXXX",
|
||||
"etYYYYYYYYYY"
|
||||
],
|
||||
"group_id": [
|
||||
"etZZZZZZZZZZZZZ",
|
||||
"etYYYYYYYYYYYYY"
|
||||
]
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"tag_group": [
|
||||
{
|
||||
"group_id": "TAG_GROUPID1",
|
||||
"group_name": "GOURP_NAME",
|
||||
"create_time": 1557838797,
|
||||
"order": 1,
|
||||
"deleted": false,
|
||||
"tag": [
|
||||
{
|
||||
"id": "TAG_ID1",
|
||||
"name": "NAME1",
|
||||
"create_time": 1557838797,
|
||||
"order": 1,
|
||||
"deleted": false
|
||||
},
|
||||
{
|
||||
"id": "TAG_ID2",
|
||||
"name": "NAME2",
|
||||
"create_time": 1557838797,
|
||||
"order": 2,
|
||||
"deleted": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"chat_id": "wrOgQhDgAAMYQiS5ol9G7gK9JVAAAA"
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"group_chat": {
|
||||
"chat_id": "wrOgQhDgAAMYQiS5ol9G7gK9JVAAAA",
|
||||
"name": "销售客服群",
|
||||
"owner": "ZhuShengBen",
|
||||
"create_time": 1572505490,
|
||||
"notice": "文明沟通,拒绝脏话",
|
||||
"member_list": [
|
||||
{
|
||||
"userid": "abel",
|
||||
"type": 1,
|
||||
"join_time": 1572505491,
|
||||
"join_scene": 1,
|
||||
"invitor": {
|
||||
"userid": "jack"
|
||||
}
|
||||
},
|
||||
{
|
||||
"userid": "sam",
|
||||
"type": 1,
|
||||
"join_time": 1572505491,
|
||||
"join_scene": 1
|
||||
},
|
||||
{
|
||||
"userid": "wmOgQhDgAAuXFJGwbve4g4iXknfOAAAA",
|
||||
"type": 2,
|
||||
"unionid": "ozynqsulJFCZ2z1aYeS8h-nuasdAAA",
|
||||
"join_time": 1572505491,
|
||||
"join_scene": 1
|
||||
}
|
||||
],
|
||||
"admin_list": [
|
||||
{
|
||||
"userid": "sam"
|
||||
},
|
||||
{
|
||||
"userid": "pony"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"status_filter": 0,
|
||||
"owner_filter": {
|
||||
"userid_list": [ "abel" ]
|
||||
},
|
||||
"cursor": "r9FqSqsI8fgNbHLHE5QoCP50UIg2cFQbfma3l2QsmwI",
|
||||
"limit": 10
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"group_chat_list": [
|
||||
{
|
||||
"chat_id": "wrOgQhDgAAMYQiS5ol9G7gK9JVAAAA",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"chat_id": "wrOgQhDgAAcwMTB7YmDkbeBsAAAA",
|
||||
"status": 0
|
||||
}
|
||||
],
|
||||
"next_cursor": "tJzlB9tdqfh-g7i_J-ehOz_TWcd7dSKa39_AqCIeMFw"
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"chat_id_list": [ "wrOgQhDgAAcwMTB7YmDkbeBsgT_AAAA", "wrOgQhDgAAMYQiS5ol9G7gK9JVQUAAAA" ],
|
||||
"new_owner": "zhangsan"
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"failed_chat_list": [
|
||||
{
|
||||
"chat_id": "wrOgQhDgAAcwMTB7YmDkbeBsgT_KAAAA",
|
||||
"errcode": 90500,
|
||||
"errmsg": "the owner of this chat is not resigned"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"day_begin_time": 1600272000,
|
||||
"day_end_time": 1600358400,
|
||||
"owner_filter": {
|
||||
"userid_list": [ "zhangsan" ]
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"items": [
|
||||
{
|
||||
"stat_time": 1600272000,
|
||||
"data": {
|
||||
"new_chat_cnt": 2,
|
||||
"chat_total": 2,
|
||||
"chat_has_msg": 0,
|
||||
"new_member_cnt": 0,
|
||||
"member_total": 6,
|
||||
"member_has_msg": 0,
|
||||
"msg_total": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"stat_time": 1600358400,
|
||||
"data": {
|
||||
"new_chat_cnt": 2,
|
||||
"chat_total": 2,
|
||||
"chat_has_msg": 0,
|
||||
"new_member_cnt": 0,
|
||||
"member_total": 6,
|
||||
"member_has_msg": 0,
|
||||
"msg_total": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"day_begin_time": 1600272000,
|
||||
"day_end_time": 1600444800,
|
||||
"owner_filter": {
|
||||
"userid_list": [ "zhangsan" ]
|
||||
},
|
||||
"order_by": 2,
|
||||
"order_asc": 0,
|
||||
"offset": 0,
|
||||
"limit": 1000
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"total": 2,
|
||||
"next_offset": 2,
|
||||
"items": [
|
||||
{
|
||||
"owner": "zhangsan",
|
||||
"data": {
|
||||
"new_chat_cnt": 2,
|
||||
"chat_total": 2,
|
||||
"chat_has_msg": 0,
|
||||
"new_member_cnt": 0,
|
||||
"member_total": 6,
|
||||
"member_has_msg": 0,
|
||||
"msg_total": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"owner": "lisi",
|
||||
"data": {
|
||||
"new_chat_cnt": 1,
|
||||
"chat_total": 3,
|
||||
"chat_has_msg": 2,
|
||||
"new_member_cnt": 0,
|
||||
"member_total": 6,
|
||||
"member_has_msg": 0,
|
||||
"msg_total": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
{
|
||||
"chat_type": "single",
|
||||
"external_userid": [
|
||||
"woAJ2GCAAAXtWyujaWJHDDGi0mACAAAA",
|
||||
"wmqfasd1e1927831123109rBAAAA"
|
||||
],
|
||||
"sender": "zhangsan",
|
||||
"text": {
|
||||
"content": "文本消息内容"
|
||||
},
|
||||
"attachments": [
|
||||
{
|
||||
"msgtype": "image",
|
||||
"image": {
|
||||
"media_id": "MEDIA_ID",
|
||||
"pic_url": "http://p.qpic.cn/pic_wework/3474110808/7a6344sdadfwehe42060/0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "link",
|
||||
"link": {
|
||||
"title": "消息标题",
|
||||
"picurl": "https://example.pic.com/path",
|
||||
"desc": "消息描述",
|
||||
"url": "https://example.link.com/path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "miniprogram",
|
||||
"miniprogram": {
|
||||
"title": "消息标题",
|
||||
"pic_media_id": "MEDIA_ID",
|
||||
"appid": "wx8bd80126147dfAAA",
|
||||
"page": "/path/index.html"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "video",
|
||||
"video": {
|
||||
"media_id": "MEDIA_ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"fail_list": [ "wmqfasd1e1927831123109rBAAAA" ],
|
||||
"msgid": "msgGCAAAXtWyujaWJHDDGi0mAAAA"
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"chat_type": "single",
|
||||
"start_time": 1605171726,
|
||||
"end_time": 1605172726,
|
||||
"creator": "zhangshan",
|
||||
"filter_type": 1,
|
||||
"limit": 50,
|
||||
"cursor": "CURSOR"
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_cursor": "CURSOR",
|
||||
"group_msg_list": [
|
||||
{
|
||||
"msgid": "msgGCAAAXtWyujaWJHDDGi0mAAAA",
|
||||
"creator": "xxxx",
|
||||
"create_time": 123456789,
|
||||
"create_type": 1,
|
||||
"text": {
|
||||
"content": "文本消息内容"
|
||||
},
|
||||
"attachments": [
|
||||
{
|
||||
"msgtype": "image",
|
||||
"image": {
|
||||
"media_id": "MEDIA_ID",
|
||||
"pic_url": "http://p.qpic.cn/pic_wework/3474110808/7a6344sdadfwehe42060/0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "link",
|
||||
"link": {
|
||||
"title": "消息标题",
|
||||
"picurl": "https://example.pic.com/path",
|
||||
"desc": "消息描述",
|
||||
"url": "https://example.link.com/path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "miniprogram",
|
||||
"miniprogram": {
|
||||
"title": "消息标题",
|
||||
"pic_media_id": "MEDIA_ID",
|
||||
"appid": "wx8bd80126147dfAAA",
|
||||
"page": "/path/index.html"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "video",
|
||||
"video": {
|
||||
"media_id": "MEDIA_ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"msgid": "msgGCAAAXtWyujaWJHDDGi0mACAAAA",
|
||||
"userid": "zhangsan ",
|
||||
"limit": 50,
|
||||
"cursor": "CURSOR "
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_cursor": "CURSOR",
|
||||
"send_list": [
|
||||
{
|
||||
"external_userid": "wmqfasd1e19278asdasAAAA",
|
||||
"chat_id": "wrOgQhDgAAMYQiS5ol9G7gK9JVAAAA",
|
||||
"userid": "zhangsan",
|
||||
"status": 1,
|
||||
"send_time": 1552536375
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"msgid": "msgGCAAAXtWyujaWJHDDGi0mACAAAA",
|
||||
"limit": 50,
|
||||
"cursor": "CURSOR "
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_cursor": "CURSOR",
|
||||
"task_list": [
|
||||
{
|
||||
"userid": "zhangsan",
|
||||
"status": 1,
|
||||
"send_time": 1552536375
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"text": {
|
||||
"content": "亲爱的%NICKNAME%用户,你好"
|
||||
},
|
||||
"image": {
|
||||
"media_id": "MEDIA_ID",
|
||||
"pic_url": "http://p.qpic.cn/pic_wework/3474110808/7a6344sdadfwehe42060/0"
|
||||
},
|
||||
"link": {
|
||||
"title": "消息标题",
|
||||
"picurl": "https://example.pic.com/path",
|
||||
"desc": "消息描述",
|
||||
"url": "https://example.link.com/path"
|
||||
},
|
||||
"miniprogram": {
|
||||
"title": "消息标题",
|
||||
"pic_media_id": "MEDIA_ID",
|
||||
"appid": "wx8bd80126147dfAAA",
|
||||
"page": "/path/index"
|
||||
},
|
||||
"agentid": 1000014,
|
||||
"notify": 1
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"template_id": "msgXXXXXX"
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"template_id": "msgXXXXXXX",
|
||||
"agentid": 1000014
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"template_id": "msgXXXXXXX",
|
||||
"text": {
|
||||
"content": "文本消息内容"
|
||||
},
|
||||
"image": {
|
||||
"media_id": "MEDIA_ID",
|
||||
"pic_url": "http://p.qpic.cn/pic_wework/3474110808/7a6344sdadfwehe42060/0"
|
||||
},
|
||||
"link": {
|
||||
"title": "消息标题",
|
||||
"picurl": "https://example.pic.com/path",
|
||||
"desc": "消息描述",
|
||||
"url": "https://example.link.com/path"
|
||||
},
|
||||
"miniprogram": {
|
||||
"title": "消息标题",
|
||||
"pic_media_id": "MEDIA_ID",
|
||||
"appid": "wx8bd80126147df384",
|
||||
"page": "/path/index"
|
||||
},
|
||||
"agentid": 1000014
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"template_id": "msgXXXXXXX"
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"text": {
|
||||
"content": "文本消息内容"
|
||||
},
|
||||
"image": {
|
||||
"pic_url": "http://p.qpic.cn/pic_wework/XXXXX"
|
||||
},
|
||||
"link": {
|
||||
"title": "消息标题",
|
||||
"picurl": "https://example.pic.com/path",
|
||||
"desc": "消息描述",
|
||||
"url": "https://example.link.com/path"
|
||||
},
|
||||
"miniprogram": {
|
||||
"title": "消息标题",
|
||||
"pic_media_id": "MEDIA_ID",
|
||||
"appid": "wx8bd80126147df384",
|
||||
"page": "/path/index"
|
||||
}
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
{
|
||||
"welcome_code": "CALLBACK_CODE",
|
||||
"text": {
|
||||
"content": "文本消息内容"
|
||||
},
|
||||
"attachments": [
|
||||
{
|
||||
"msgtype": "image",
|
||||
"image": {
|
||||
"media_id": "MEDIA_ID",
|
||||
"pic_url": "http://p.qpic.cn/pic_wework/3474110808/7a6344sdadfwehe42060/0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "link",
|
||||
"link": {
|
||||
"title": "消息标题",
|
||||
"picurl": "https://example.pic.com/path",
|
||||
"desc": "消息描述",
|
||||
"url": "https://example.link.com/path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "miniprogram",
|
||||
"miniprogram": {
|
||||
"title": "消息标题",
|
||||
"pic_media_id": "MEDIA_ID",
|
||||
"appid": "wx8bd80126147dfAAA",
|
||||
"page": "/path/index.html"
|
||||
}
|
||||
},
|
||||
{
|
||||
"msgtype": "video",
|
||||
"video": {
|
||||
"media_id": "MEDIA_ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"moment_id": "momxxx",
|
||||
"userid": "xxx"
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"comment_list": [
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACAAAA ",
|
||||
"create_time": 1605172726
|
||||
},
|
||||
{
|
||||
"userid": "zhangshan ",
|
||||
"create_time": 1605172729
|
||||
}
|
||||
],
|
||||
"like_list": [
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACBBBB ",
|
||||
"create_time": 1605172726
|
||||
},
|
||||
{
|
||||
"userid": "zhangshan ",
|
||||
"create_time": 1605172720
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"moment_id": "momxxx",
|
||||
"userid": "xxx",
|
||||
"cursor": "CURSOR",
|
||||
"limit": 10
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_cursor": "CURSOR",
|
||||
"customer_list": [
|
||||
{
|
||||
"userid": "xxx",
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACCCC "
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"start_time": 1605000000,
|
||||
"end_time": 1605172726,
|
||||
"creator": "zhangsan",
|
||||
"filter_type": 1,
|
||||
"cursor": "CURSOR",
|
||||
"limit": 10
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_cursor": "CURSOR",
|
||||
"moment_list": [
|
||||
{
|
||||
"moment_id": "momxxx",
|
||||
"creator": "xxxx",
|
||||
"create_time": 1605172726,
|
||||
"create_type": 1,
|
||||
"visible_type": 1,
|
||||
"text": {
|
||||
"content": "test"
|
||||
},
|
||||
"image": [
|
||||
{ "media_id": "WWCISP_xxxxx" }
|
||||
],
|
||||
"video": {
|
||||
"media_id": "WWCISP_xxxxx",
|
||||
"thumb_media_id": "WWCISP_xxxxx"
|
||||
},
|
||||
"link": {
|
||||
"title": "腾讯网-QQ.COM",
|
||||
"url": "https://www.qq.com"
|
||||
},
|
||||
"location": {
|
||||
"latitude": "23.10647",
|
||||
"longitude": "113.32446",
|
||||
"name": "广州市 · 广州塔"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"moment_id": "momxxx",
|
||||
"userid": "xxx",
|
||||
"cursor": "CURSOR",
|
||||
"limit": 100
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_cursor": "CURSOR",
|
||||
"customer_list": [
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACCCC"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"moment_id": "momxxx",
|
||||
"cursor": "CURSOR",
|
||||
"limit": 10
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_cursor": "CURSOR",
|
||||
"task_list": [
|
||||
{
|
||||
"userid": "zhangsan",
|
||||
"publish_status": 1
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"handover_userid": "zhangsan",
|
||||
"takeover_userid": "lisi",
|
||||
"external_userid": [
|
||||
"woAJ2GCAAAXtWyujaWJHDDGi0mACBBBB",
|
||||
"woAJ2GCAAAXtWyujaWJHDDGi0mACAAAA"
|
||||
]
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"customer": [
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACBBBB",
|
||||
"errcode": 0
|
||||
},
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACAAAA",
|
||||
"errcode": 40096
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"handover_userid": "zhangsan",
|
||||
"takeover_userid": "lisi",
|
||||
"cursor": "CURSOR"
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"customer": [
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACCCC",
|
||||
"status": 1,
|
||||
"takeover_time": 1588262400
|
||||
},
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACBBBB",
|
||||
"status": 2,
|
||||
"takeover_time": 1588482400
|
||||
},
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACAAAA",
|
||||
"status": 3,
|
||||
"takeover_time": 0
|
||||
}
|
||||
],
|
||||
"next_cursor": "NEXT_CURSOR"
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"handover_userid": "zhangsan",
|
||||
"takeover_userid": "lisi",
|
||||
"external_userid": [
|
||||
"woAJ2GCAAAXtWyujaWJHDDGi0mACAAAA",
|
||||
"woAJ2GCAAAXtWyujaWJHDDGi0mACBBBB"
|
||||
],
|
||||
"transfer_success_msg": "您好,您的服务已升级,后续将由我的同事李四@腾讯接替我的工作,继续为您服务。"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"customer": [
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACAAAA",
|
||||
"errcode": 40096
|
||||
},
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACBBBB",
|
||||
"errcode": 0
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"handover_userid": "zhangsan",
|
||||
"takeover_userid": "lisi",
|
||||
"cursor": "CURSOR"
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"customer": [
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACCCC",
|
||||
"status": 1,
|
||||
"takeover_time": 1588262400
|
||||
},
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACBBBB",
|
||||
"status": 2,
|
||||
"takeover_time": 1588482400
|
||||
},
|
||||
{
|
||||
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACAAAA",
|
||||
"status": 3,
|
||||
"takeover_time": 0
|
||||
}
|
||||
],
|
||||
"next_cursor": "NEXT_CURSOR"
|
||||
}
|
Loading…
Reference in New Issue
Block a user