mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-22 12:09:30 +08:00
test(work): 适配新的接口模型
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"parent_id": 0,
|
||||
"strategy_name": "NAME",
|
||||
"admin_list": [
|
||||
"zhangsan",
|
||||
"lisi"
|
||||
],
|
||||
"privilege": {
|
||||
"view_customer_list": true,
|
||||
"view_customer_data": true,
|
||||
"view_room_list": true,
|
||||
"contact_me": true,
|
||||
"join_room": true,
|
||||
"share_customer": false,
|
||||
"oper_resign_customer": true,
|
||||
"send_customer_msg": true,
|
||||
"edit_welcome_msg": true,
|
||||
"view_behavior_data": true,
|
||||
"view_room_data": true,
|
||||
"send_group_msg": true,
|
||||
"room_deduplication": true,
|
||||
"rapid_reply": true,
|
||||
"onjob_customer_transfer": true,
|
||||
"edit_anti_spam_rule": true,
|
||||
"export_customer_list": true,
|
||||
"export_customer_data": true,
|
||||
"export_customer_group_list": true
|
||||
},
|
||||
"range": [
|
||||
{
|
||||
"type": 1,
|
||||
"userid": "zhangsan"
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"partyid": 1
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"strategy_id": 1
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"strategy_id": 1
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"strategy_id": 1,
|
||||
"strategy_name": "NAME",
|
||||
"admin_list": [
|
||||
"zhangsan",
|
||||
"lisi"
|
||||
],
|
||||
"privilege": {
|
||||
"view_customer_list": true,
|
||||
"view_customer_data": true,
|
||||
"view_room_list": true,
|
||||
"contact_me": true,
|
||||
"join_room": true,
|
||||
"share_customer": false,
|
||||
"oper_resign_customer": true,
|
||||
"oper_resign_group": true,
|
||||
"send_customer_msg": true,
|
||||
"edit_welcome_msg": true,
|
||||
"view_behavior_data": true,
|
||||
"view_room_data": true,
|
||||
"send_group_msg": true,
|
||||
"room_deduplication": true,
|
||||
"rapid_reply": true,
|
||||
"onjob_customer_transfer": true,
|
||||
"edit_anti_spam_rule": true,
|
||||
"export_customer_list": true,
|
||||
"export_customer_data": true,
|
||||
"export_customer_group_list": true
|
||||
},
|
||||
"range_add": [
|
||||
{
|
||||
"type": 1,
|
||||
"userid": "zhangsan"
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"partyid": 1
|
||||
}
|
||||
],
|
||||
"range_del": [
|
||||
{
|
||||
"type": 1,
|
||||
"userid": "lisi"
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"partyid": 2
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"strategy_id": 1,
|
||||
"cursor": "CURSOR",
|
||||
"limit": 1000
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"range": [
|
||||
{
|
||||
"type": 1,
|
||||
"userid": "zhangsan"
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"partyid": 1
|
||||
}
|
||||
],
|
||||
"next_cursor": "NEXT_CURSOR"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"strategy_id": 1
|
||||
}
|
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"strategy": {
|
||||
"strategy_id": 1,
|
||||
"parent_id": 0,
|
||||
"strategy_name": "NAME",
|
||||
"create_time": 1557838797,
|
||||
"admin_list": [
|
||||
"zhangsan",
|
||||
"lisi"
|
||||
],
|
||||
"privilege": {
|
||||
"view_customer_list": true,
|
||||
"view_customer_data": true,
|
||||
"view_room_list": true,
|
||||
"contact_me": true,
|
||||
"join_room": true,
|
||||
"share_customer": false,
|
||||
"oper_resign_customer": true,
|
||||
"oper_resign_group": true,
|
||||
"send_customer_msg": true,
|
||||
"edit_welcome_msg": true,
|
||||
"view_behavior_data": true,
|
||||
"view_room_data": true,
|
||||
"send_group_msg": true,
|
||||
"room_deduplication": true,
|
||||
"rapid_reply": true,
|
||||
"onjob_customer_transfer": true,
|
||||
"edit_anti_spam_rule": true,
|
||||
"export_customer_list": true,
|
||||
"export_customer_data": true,
|
||||
"export_customer_group_list": true
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"cursor": "CURSOR",
|
||||
"limit": 1000
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"strategy": [
|
||||
{
|
||||
"strategy_id": 1
|
||||
},
|
||||
{
|
||||
"strategy_id": 2
|
||||
}
|
||||
],
|
||||
"next_cursor": "NEXT_CURSOR"
|
||||
}
|
Reference in New Issue
Block a user