diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistic/CgibinExternalContactGroupChatStatisticGroupByDayRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistics/CgibinExternalContactGroupChatStatisticsGroupByDayRequest.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistic/CgibinExternalContactGroupChatStatisticGroupByDayRequest.json rename to test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistics/CgibinExternalContactGroupChatStatisticsGroupByDayRequest.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistic/CgibinExternalContactGroupChatStatisticGroupByDayResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistics/CgibinExternalContactGroupChatStatisticsGroupByDayResponse.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistic/CgibinExternalContactGroupChatStatisticGroupByDayResponse.json rename to test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistics/CgibinExternalContactGroupChatStatisticsGroupByDayResponse.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistic/CgibinExternalContactGroupChatStatisticRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistics/CgibinExternalContactGroupChatStatisticsRequest.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistic/CgibinExternalContactGroupChatStatisticRequest.json rename to test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistics/CgibinExternalContactGroupChatStatisticsRequest.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistic/CgibinExternalContactGroupChatStatisticResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistics/CgibinExternalContactGroupChatStatisticsResponse.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistic/CgibinExternalContactGroupChatStatisticResponse.json rename to test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinExternalContact/GroupChat/Statistics/CgibinExternalContactGroupChatStatisticsResponse.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridAddRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridAddRequest.json new file mode 100644 index 00000000..adff1c00 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridAddRequest.json @@ -0,0 +1,6 @@ +{ + "grid_name": "grid_name", + "grid_parent_id": "grid_id", + "grid_admin": [ "zhangsan" ], + "grid_member": [ "lisi", "invaliduser" ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridAddResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridAddResponse.json new file mode 100644 index 00000000..e33c8b57 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridAddResponse.json @@ -0,0 +1,8 @@ +{ + "errcode": 0, + "errmsg": "ok", + "grid_id": "grid_id", + "invalid_userids": [ + "invaliduser" + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridDeleteRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridDeleteRequest.json new file mode 100644 index 00000000..3d80af7b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridDeleteRequest.json @@ -0,0 +1,3 @@ +{ + "grid_id": "grid_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridDeleteResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridDeleteResponse.json new file mode 100644 index 00000000..4dfc6cba --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridDeleteResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridGetUserGridInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridGetUserGridInfoRequest.json new file mode 100644 index 00000000..e56b0aab --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridGetUserGridInfoRequest.json @@ -0,0 +1,3 @@ +{ + "userid": "zhangsan" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridGetUserGridInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridGetUserGridInfoResponse.json new file mode 100644 index 00000000..c560b9ee --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridGetUserGridInfoResponse.json @@ -0,0 +1,24 @@ +{ + "errcode": 0, + "errmsg": "ok", + "manage_grids": [ + { + "grid_id": "grid_id1", + "grid_name": "grid_name1" + }, + { + "grid_id": "grid_id2", + "grid_name": "grid_name2" + } + ], + "joined_grids": [ + { + "grid_id": "grid_id1", + "grid_name": "grid_name1" + }, + { + "grid_id": "grid_id2", + "grid_name": "grid_name2" + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridListRequest.json new file mode 100644 index 00000000..3d80af7b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridListRequest.json @@ -0,0 +1,3 @@ +{ + "grid_id": "grid_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridListResponse.json new file mode 100644 index 00000000..c10000b2 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridListResponse.json @@ -0,0 +1,13 @@ +{ + "errcode": 0, + "errmsg": "ok", + "grid_list": [ + { + "grid_id": "grid_id", + "grid_name": "1", + "grid_parent_id": "grid_id", + "grid_admin": [ "zhangsan" ], + "grid_member": [ "lisi", "11111" ] + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridUpdateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridUpdateRequest.json new file mode 100644 index 00000000..d825933e --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridUpdateRequest.json @@ -0,0 +1,7 @@ +{ + "grid_id": "grid_id", + "grid_name": "grid_name", + "grid_parent_id": "grid_id", + "grid_admin": [ "zhangsan" ], + "grid_member": [ "lisi", "invaliduser" ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridUpdateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridUpdateResponse.json new file mode 100644 index 00000000..f59e1142 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Grid/CgibinReportGridUpdateResponse.json @@ -0,0 +1,7 @@ +{ + "errcode": 0, + "errmsg": "ok", + "invalid_userids": [ + "invaliduser" + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridAddCategoryRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridAddCategoryRequest.json new file mode 100644 index 00000000..0ebaea5e --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridAddCategoryRequest.json @@ -0,0 +1,5 @@ +{ + "category_name": "category_name", + "level": 2, + "parent_category_id": "parent_category_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridAddCategoryResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridAddCategoryResponse.json new file mode 100644 index 00000000..fbd0f46c --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridAddCategoryResponse.json @@ -0,0 +1,5 @@ +{ + "errcode": 0, + "errmsg": "ok", + "category_id": "category_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridDeleteCategoryRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridDeleteCategoryRequest.json new file mode 100644 index 00000000..1bbdf49f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridDeleteCategoryRequest.json @@ -0,0 +1,3 @@ +{ + "category_id": "category_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridDeleteCategoryResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridDeleteCategoryResponse.json new file mode 100644 index 00000000..4dfc6cba --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridDeleteCategoryResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridListCategoryRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridListCategoryRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridListCategoryRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridListCategoryResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridListCategoryResponse.json new file mode 100644 index 00000000..138d2234 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridListCategoryResponse.json @@ -0,0 +1,17 @@ +{ + "errcode": 0, + "errmsg": "ok", + "cata_list": [ + { + "cata_id": "grid_id", + "cata_name": "2222", + "level": 1 + }, + { + "cata_id": "grid_id", + "cata_name": "2222", + "level": 2, + "parent_cata_id": "parent_cata_id" + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridUpdateCategoryRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridUpdateCategoryRequest.json new file mode 100644 index 00000000..31a3a8cc --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridUpdateCategoryRequest.json @@ -0,0 +1,6 @@ +{ + "category_id": "category_id", + "category_name": "category_name", + "level": 2, + "parent_category_id": "parent_category_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridUpdateCategoryResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridUpdateCategoryResponse.json new file mode 100644 index 00000000..4dfc6cba --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/GridCategory/CgibinReportGridUpdateCategoryResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolCategoryStatisticsRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolCategoryStatisticsRequest.json new file mode 100644 index 00000000..1bbdf49f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolCategoryStatisticsRequest.json @@ -0,0 +1,3 @@ +{ + "category_id": "category_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolCategoryStatisticsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolCategoryStatisticsResponse.json new file mode 100644 index 00000000..a7cd471f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolCategoryStatisticsResponse.json @@ -0,0 +1,14 @@ +{ + "errcode": 0, + "errmsg": "ok", + "dashboard_list": [ + { + "category_id": "category_id", + "category_name": "category name", + "category_level": 1, + "total_case": 100, + "total_solved": 100, + "category_type": 1 + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetCorpStatusRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetCorpStatusRequest.json new file mode 100644 index 00000000..3d80af7b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetCorpStatusRequest.json @@ -0,0 +1,3 @@ +{ + "grid_id": "grid_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetCorpStatusResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetCorpStatusResponse.json new file mode 100644 index 00000000..29a29c6a --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetCorpStatusResponse.json @@ -0,0 +1,10 @@ +{ + "errcode": 0, + "errmsg": "ok", + "processing": 1, + "added_today": 1, + "solved_today": 1, + "total_case": 1, + "to_be_assigned": 1, + "total_solved": 1 +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetGridInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetGridInfoRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetGridInfoRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetGridInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetGridInfoResponse.json new file mode 100644 index 00000000..456f0d4d --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetGridInfoResponse.json @@ -0,0 +1,14 @@ +{ + "errcode": 0, + "errmsg": "ok", + "grid_list": [ + { + "grid_id": "grid_id", + "grid_name": "1", + "grid_admin": [ + "zhangsan", + "lisi" + ] + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderInfoRequest.json new file mode 100644 index 00000000..3f0ac54b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderInfoRequest.json @@ -0,0 +1,3 @@ +{ + "order_id": "order_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderInfoResponse.json new file mode 100644 index 00000000..54ff4568 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderInfoResponse.json @@ -0,0 +1,48 @@ +{ + "errcode": 0, + "errmsg": "ok", + "order_info": { + "order_id": "order_id", + "desc": "test", + "urge_type": 1, + "case_name": "测试事件", + "grid_name": "测试网格", + "grid_id": "grid_id", + "create_time": 12345678, + "image_urls": [ + "https://image1.qq.com", + "https://image2.qq.com" + ], + "video_media_ids": [ + "mediaid1", + "mediaid2" + ], + "location": { + "name": "测试小区", + "address": "实例小区,不真实存在,经纬度无意义", + "latitude": 0, + "longitude": 0 + }, + "processor_userids": [ + "zhangsan", + "lisi" + ], + "process_list": [ + { + "process_type": 1, + "solve_userid": "zhangsan", + "process_desc": "第一个流程", + "status": 1, + "solved_time": 123456789, + "image_urls": [ + "https://image1.qq.com", + "https://image2.qq.com" + ], + "video_media_ids": [ + "mediaid1", + "mediaid2" + ] + } + ] + } +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderListRequest.json new file mode 100644 index 00000000..bdb26a95 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderListRequest.json @@ -0,0 +1,6 @@ +{ + "begin_create_time": 12345678, + "begin_modify_time": 12345678, + "cursor": "cursor", + "limit": 20 +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderListResponse.json new file mode 100644 index 00000000..a466f8e6 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetOrderListResponse.json @@ -0,0 +1,51 @@ +{ + "errcode": 0, + "errmsg": "ok", + "next_cursor": "next_cursor", + "order_list": [ + { + "order_id": "order_id", + "desc": "test", + "urge_type": 1, + "case_name": "测试事件", + "grid_name": "测试网格", + "grid_id": "grid_id", + "create_time": 12345678, + "image_urls": [ + "https://image1.qq.com", + "https://image2.qq.com" + ], + "video_media_ids": [ + "mediaid1", + "mediaid2" + ], + "location": { + "name": "测试小区", + "address": "实例小区,不真实存在,经纬度无意义", + "latitude": 0, + "longitude": 0 + }, + "processor_userids": [ + "zhangsan", + "lisi" + ], + "process_list": [ + { + "process_type": 1, + "solve_userid": "zhangsan", + "process_desc": "第一个流程", + "status": 1, + "solved_time": 123456789, + "image_urls": [ + "https://image1.qq.com", + "https://image2.qq.com" + ], + "video_media_ids": [ + "mediaid1", + "mediaid2" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetUserStatusRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetUserStatusRequest.json new file mode 100644 index 00000000..e56b0aab --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetUserStatusRequest.json @@ -0,0 +1,3 @@ +{ + "userid": "zhangsan" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetUserStatusResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetUserStatusResponse.json new file mode 100644 index 00000000..1fad16a7 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Patrol/CgibinReportPatrolGetUserStatusResponse.json @@ -0,0 +1,7 @@ +{ + "errcode": 0, + "errmsg": "ok", + "processing": 1, + "added_today": 1, + "solved_today": 1 +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentCategoryStatisticsRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentCategoryStatisticsRequest.json new file mode 100644 index 00000000..1bbdf49f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentCategoryStatisticsRequest.json @@ -0,0 +1,3 @@ +{ + "category_id": "category_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentCategoryStatisticsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentCategoryStatisticsResponse.json new file mode 100644 index 00000000..a7cd471f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentCategoryStatisticsResponse.json @@ -0,0 +1,14 @@ +{ + "errcode": 0, + "errmsg": "ok", + "dashboard_list": [ + { + "category_id": "category_id", + "category_name": "category name", + "category_level": 1, + "total_case": 100, + "total_solved": 100, + "category_type": 1 + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetCorpStatusRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetCorpStatusRequest.json new file mode 100644 index 00000000..3d80af7b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetCorpStatusRequest.json @@ -0,0 +1,3 @@ +{ + "grid_id": "grid_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetCorpStatusResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetCorpStatusResponse.json new file mode 100644 index 00000000..e242af45 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetCorpStatusResponse.json @@ -0,0 +1,11 @@ +{ + "errcode": 0, + "errmsg": "ok", + "processing": 1, + "added_today": 1, + "solved_today": 1, + "pending": 10, + "total_case": 1, + "total_accepted": 1, + "total_solved": 1 +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetGridInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetGridInfoRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetGridInfoRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetGridInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetGridInfoResponse.json new file mode 100644 index 00000000..456f0d4d --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetGridInfoResponse.json @@ -0,0 +1,14 @@ +{ + "errcode": 0, + "errmsg": "ok", + "grid_list": [ + { + "grid_id": "grid_id", + "grid_name": "1", + "grid_admin": [ + "zhangsan", + "lisi" + ] + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderInfoRequest.json new file mode 100644 index 00000000..3f0ac54b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderInfoRequest.json @@ -0,0 +1,3 @@ +{ + "order_id": "order_id" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderInfoResponse.json new file mode 100644 index 00000000..1a3c0dea --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderInfoResponse.json @@ -0,0 +1,51 @@ +{ + "errcode": 0, + "errmsg": "ok", + "order_info": { + "order_id": "order_id", + "desc": "test", + "urge_type": 1, + "case_name": "测试事件", + "grid_name": "测试网格", + "grid_id": "grid_id", + "reporter_name": "上报人名称", + "reporter_mobile": "上报人手机", + "unionid": "上报人unionid", + "image_urls": [ + "https://image1.qq.com", + "https://image2.qq.com" + ], + "video_media_ids": [ + "mediaid1", + "mediaid2" + ], + "create_time": 12345678, + "location": { + "name": "测试小区", + "address": "实例小区,不真实存在,经纬度无意义", + "latitude": 0, + "longitude": 0 + }, + "processor_userids": [ + "zhangsan", + "lisi" + ], + "process_list": [ + { + "process_type": 1, + "solve_userid": "zhangsan", + "process_desc": "第一个流程", + "status": 1, + "solved_time": 123456789, + "image_urls": [ + "https://image1.qq.com", + "https://image2.qq.com" + ], + "video_media_ids": [ + "mediaid1", + "mediaid2" + ] + } + ] + } +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderListRequest.json new file mode 100644 index 00000000..bdb26a95 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderListRequest.json @@ -0,0 +1,6 @@ +{ + "begin_create_time": 12345678, + "begin_modify_time": 12345678, + "cursor": "cursor", + "limit": 20 +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderListResponse.json new file mode 100644 index 00000000..a29f9685 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetOrderListResponse.json @@ -0,0 +1,54 @@ +{ + "errcode": 0, + "errmsg": "ok", + "next_cursor": "next_cursor", + "order_list": [ + { + "order_id": "order_id", + "desc": "test", + "urge_type": 1, + "case_name": "测试事件", + "grid_name": "测试网格", + "grid_id": "grid_id", + "create_time": 12345678, + "reporter_name": "上报人名称", + "reporter_mobile": "上报人手机", + "unionid": "上报人unionid", + "image_urls": [ + "https://image1.qq.com", + "https://image2.qq.com" + ], + "video_media_ids": [ + "mediaid1", + "mediaid2" + ], + "location": { + "name": "测试小区", + "address": "实例小区,不真实存在,经纬度无意义", + "latitude": 0, + "longitude": 0 + }, + "processor_userids": [ + "zhangsan", + "lisi" + ], + "process_list": [ + { + "process_type": 1, + "solve_userid": "zhangsan", + "process_desc": "第一个流程", + "status": 1, + "solved_time": 123456789, + "image_urls": [ + "https://image1.qq.com", + "https://image2.qq.com" + ], + "video_media_ids": [ + "mediaid1", + "mediaid2" + ] + } + ] + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetUserStatusRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetUserStatusRequest.json new file mode 100644 index 00000000..e56b0aab --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetUserStatusRequest.json @@ -0,0 +1,3 @@ +{ + "userid": "zhangsan" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetUserStatusResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetUserStatusResponse.json new file mode 100644 index 00000000..427aabd7 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinReport/Resident/CgibinReportResidentGetUserStatusResponse.json @@ -0,0 +1,8 @@ +{ + "errcode": 0, + "errmsg": "ok", + "processing": 1, + "added_today": 1, + "solved_today": 1, + "pending": 1 +}