From 40a9c22420821d112f454ac34a391f68a7b457ae Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Sat, 5 Jun 2021 21:34:20 +0800 Subject: [PATCH] =?UTF-8?q?test(work):=20=E9=80=82=E9=85=8D=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E6=A8=A1=E5=9E=8B=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ealthGetHealthReportStatisticsRequest.json | 3 + ...althGetHealthReportStatisticsResponse.json | 6 ++ .../CgibinHealthGetReportAnswerRequest.json | 6 ++ .../CgibinHealthGetReportAnswerResponse.json | 62 +++++++++++++++++++ .../CgibinHealthGetReportJobIdsRequest.json | 4 ++ .../CgibinHealthGetReportJobIdsResponse.json | 9 +++ .../CgibinHealthGetReportJobInfoRequest.json | 4 ++ .../CgibinHealthGetReportJobInfoResponse.json | 52 ++++++++++++++++ .../CgibinMessageSendRequest.json | 19 ++++++ ...gibinSchoolUserGetHealthQrcodeRequest.json | 7 +++ ...ibinSchoolUserGetHealthQrcodeResponse.json | 17 +++++ ...rGetStudentCustomizeHealthInfoRequest.json | 5 ++ ...GetStudentCustomizeHealthInfoResponse.json | 61 ++++++++++++++++++ ...rGetTeacherCustomizeHealthInfoRequest.json | 5 ++ ...GetTeacherCustomizeHealthInfoResponse.json | 61 ++++++++++++++++++ .../CgibinServiceGetAuthInfoResponse.json | 1 + ...CgibinServiceGetPermanentCodeResponse.json | 1 + .../CgibinUserAuthSuccessRequest.json | 0 .../CgibinUserAuthSuccessResponse.json | 0 .../CgibinUserCheckMemberAuthRequest.json | 1 + .../CgibinUserCheckMemberAuthResponse.json | 5 ++ .../Auth/CgibinUserListMemberAuthRequest.json | 1 + .../CgibinUserListMemberAuthResponse.json | 10 +++ 23 files changed, 340 insertions(+) create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetHealthReportStatisticsRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetHealthReportStatisticsResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportAnswerRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportAnswerResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobIdsRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobIdsResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobInfoRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobInfoResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetHealthQrcodeRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetHealthQrcodeResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetStudentCustomizeHealthInfoRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetStudentCustomizeHealthInfoResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetTeacherCustomizeHealthInfoRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetTeacherCustomizeHealthInfoResponse.json rename test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/{ => Auth}/CgibinUserAuthSuccessRequest.json (100%) rename test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/{ => Auth}/CgibinUserAuthSuccessResponse.json (100%) create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserCheckMemberAuthRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserCheckMemberAuthResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserListMemberAuthRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserListMemberAuthResponse.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetHealthReportStatisticsRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetHealthReportStatisticsRequest.json new file mode 100644 index 00000000..3c5a8b80 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetHealthReportStatisticsRequest.json @@ -0,0 +1,3 @@ +{ + "date": "2020-03-27" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetHealthReportStatisticsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetHealthReportStatisticsResponse.json new file mode 100644 index 00000000..c4e5e5fd --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetHealthReportStatisticsResponse.json @@ -0,0 +1,6 @@ +{ + "errcode": 0, + "errmsg": "ok", + "pv": 100, + "uv": 50 +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportAnswerRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportAnswerRequest.json new file mode 100644 index 00000000..1242b137 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportAnswerRequest.json @@ -0,0 +1,6 @@ +{ + "jobid": "jobid1", + "date": "2020-03-27", + "offset": 0, + "limit": 100 +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportAnswerResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportAnswerResponse.json new file mode 100644 index 00000000..4fd3e48d --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportAnswerResponse.json @@ -0,0 +1,62 @@ +{ + "errcode": 0, + "errmsg": "ok", + "answers": [ + { + "id_type": 1, + "userid": "userid2", + "report_values": [ + { + "question_id": 1, + "single_choice": 2 + }, + { + "question_id": 2, + "text": "广东省广州市" + }, + { + "question_id": 3, + "multi_choice": [ + 1, + 3 + ] + }, + { + "question_id": 4, + "fileid": [ + "XXXXXXX" + ] + } + ] + }, + { + "id_type": 2, + "student_userid": "student_userid1", + "parent_userid": "parent_userid1", + "report_values": [ + { + "question_id": 1, + "single_choice": 1 + }, + { + "question_id": 2, + "text": "广东省深圳市" + }, + { + "question_id": 3, + "multi_choice": [ + 1, + 2, + 3 + ] + }, + { + "question_id": 4, + "fileid": [ + "XXXXXXX" + ] + } + ] + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobIdsRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobIdsRequest.json new file mode 100644 index 00000000..fc907be8 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobIdsRequest.json @@ -0,0 +1,4 @@ +{ + "offset": 0, + "limit": 100 +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobIdsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobIdsResponse.json new file mode 100644 index 00000000..5153a56d --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobIdsResponse.json @@ -0,0 +1,9 @@ +{ + "errcode": 0, + "errmsg": "ok", + "ending": 1, + "jobids": [ + "jobid1", + "jobid2" + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobInfoRequest.json new file mode 100644 index 00000000..ceb13773 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobInfoRequest.json @@ -0,0 +1,4 @@ +{ + "jobid": "jobid1", + "date": "2020-03-27" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobInfoResponse.json new file mode 100644 index 00000000..1054c7a7 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinHealth/CgibinHealthGetReportJobInfoResponse.json @@ -0,0 +1,52 @@ +{ + "errcode": 0, + "errmsg": "ok", + "job_info": { + "title": "职工收集任务", + "creator": "creator_userid", + "type": 1, + "apply_range": { + "userids": [ + "userid1", + "userid2" + ], + "partyids": [ + 1, + 2 + ] + }, + "report_to": { + "userids": [ + "userid1", + "userid2" + ] + }, + "report_type": 1, + "skip_weekend": 0, + "finish_cnt": 10, + "question_templates": [ + { + "question_id": 1, + "title": "请问你有任何身体不适吗?", + "question_type": 2, + "is_required": 1, + "option_list": [ + { + "option_id": 1, + "option_text": "有" + }, + { + "option_id": 2, + "option_text": "没有" + } + ] + }, + { + "question_id": 2, + "title": "常驻地址", + "question_type": 1, + "is_required": 0 + } + ] + } +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinMessage/CgibinMessageSendRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinMessage/CgibinMessageSendRequest.json index 39687b9b..2b530a68 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinMessage/CgibinMessageSendRequest.json +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinMessage/CgibinMessageSendRequest.json @@ -95,6 +95,25 @@ } ] }, + "selected_ticket_list": [ "xxx", "yyy" ], + "template_msg": { + "template_id": "ttxxlGlgIAwJrCTFjtndfgHPoIySyk6w", + "url": "http://www.qq.com", + "content_item": [ + { + "key": "会议室", + "value": "402" + }, + { + "key": "会议地点", + "value": "广州TIT-402会议室" + }, + { + "key": "会议时间", + "value": "2018年8月1日 09:00-09:30" + } + ] + }, "safe": 0, "enable_id_trans": 0, "enable_duplicate_check": 0, diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetHealthQrcodeRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetHealthQrcodeRequest.json new file mode 100644 index 00000000..2e2c8409 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetHealthQrcodeRequest.json @@ -0,0 +1,7 @@ +{ + "type": 1, + "userids": [ + "userid1", + "userid2" + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetHealthQrcodeResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetHealthQrcodeResponse.json new file mode 100644 index 00000000..1fe09530 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetHealthQrcodeResponse.json @@ -0,0 +1,17 @@ +{ + "errcode": 0, + "errmsg": "ok", + "result_list": [ + { + "errcode": 0, + "errmsg": "ok", + "userid": "userid1", + "qrcode_data": "QRCODE_DATA" + }, + { + "errcode": 1, + "errmsg": "record not found", + "userid": "userid1" + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetStudentCustomizeHealthInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetStudentCustomizeHealthInfoRequest.json new file mode 100644 index 00000000..273ab3f8 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetStudentCustomizeHealthInfoRequest.json @@ -0,0 +1,5 @@ +{ + "date": "2020-03-27", + "next_key": "NEXT_KEY", + "limit": 100 +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetStudentCustomizeHealthInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetStudentCustomizeHealthInfoResponse.json new file mode 100644 index 00000000..12ad349a --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetStudentCustomizeHealthInfoResponse.json @@ -0,0 +1,61 @@ +{ + "errcode": 0, + "errmsg": "ok", + "health_infos": [ + { + "userid": "zhangsan", + "health_qrcode_status": 1, + "self_submit": 2, + "report_values": [ + { + "question_id": 1, + "single_chose": 1 + }, + { + "question_id": 2, + "text": "浑身难受" + } + ] + }, + { + "userid": "lisi", + "health_qrcode_status": 2, + "self_submit": 1, + "report_values": [ + { + "question_id": 1, + "single_chose": 2 + } + ] + } + ], + "question_templates": [ + { + "question_id": 1, + "title": "请问你有任何身体不适吗?", + "question_type": 2, + "is_must_fill": 1, + "is_not_display": 2, + "option_list": [ + { + "option_id": 1, + "option_text": "有" + }, + { + "option_id": 2, + "option_text": "没有" + } + ] + }, + { + "question_id": 2, + "title": "具体哪里不适?(第一题为没有的可以不答)", + "question_type": 1, + "is_must_fill": 2, + "is_not_display": 2 + } + ], + "template_id": "XXXXXXXXXXXXXXXXX", + "ending": 1, + "next_key": "NEXT_KEY" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetTeacherCustomizeHealthInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetTeacherCustomizeHealthInfoRequest.json new file mode 100644 index 00000000..273ab3f8 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetTeacherCustomizeHealthInfoRequest.json @@ -0,0 +1,5 @@ +{ + "date": "2020-03-27", + "next_key": "NEXT_KEY", + "limit": 100 +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetTeacherCustomizeHealthInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetTeacherCustomizeHealthInfoResponse.json new file mode 100644 index 00000000..12ad349a --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinSchool/User/Health/CgibinSchoolUserGetTeacherCustomizeHealthInfoResponse.json @@ -0,0 +1,61 @@ +{ + "errcode": 0, + "errmsg": "ok", + "health_infos": [ + { + "userid": "zhangsan", + "health_qrcode_status": 1, + "self_submit": 2, + "report_values": [ + { + "question_id": 1, + "single_chose": 1 + }, + { + "question_id": 2, + "text": "浑身难受" + } + ] + }, + { + "userid": "lisi", + "health_qrcode_status": 2, + "self_submit": 1, + "report_values": [ + { + "question_id": 1, + "single_chose": 2 + } + ] + } + ], + "question_templates": [ + { + "question_id": 1, + "title": "请问你有任何身体不适吗?", + "question_type": 2, + "is_must_fill": 1, + "is_not_display": 2, + "option_list": [ + { + "option_id": 1, + "option_text": "有" + }, + { + "option_id": 2, + "option_text": "没有" + } + ] + }, + { + "question_id": 2, + "title": "具体哪里不适?(第一题为没有的可以不答)", + "question_type": 1, + "is_must_fill": 2, + "is_not_display": 2 + } + ], + "template_id": "XXXXXXXXXXXXXXXXX", + "ending": 1, + "next_key": "NEXT_KEY" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinService/CgibinServiceGetAuthInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinService/CgibinServiceGetAuthInfoResponse.json index 3c601b50..f798d468 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinService/CgibinServiceGetAuthInfoResponse.json +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinService/CgibinServiceGetAuthInfoResponse.json @@ -29,6 +29,7 @@ "round_logo_url": "xxxxxx", "square_logo_url": "yyyyyy", "appid": 1, + "auth_mode": 1, "privilege": { "level": 1, "allow_party": [ 1, 2, 3 ], diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinService/CgibinServiceGetPermanentCodeResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinService/CgibinServiceGetPermanentCodeResponse.json index 7a63ce49..fa63e7d3 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinService/CgibinServiceGetPermanentCodeResponse.json +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinService/CgibinServiceGetPermanentCodeResponse.json @@ -33,6 +33,7 @@ "round_logo_url": "xxxxxx", "square_logo_url": "yyyyyy", "appid": 1, + "auth_mode": 1, "privilege": { "level": 1, "allow_party": [ 1, 2, 3 ], diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/CgibinUserAuthSuccessRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserAuthSuccessRequest.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/CgibinUserAuthSuccessRequest.json rename to test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserAuthSuccessRequest.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/CgibinUserAuthSuccessResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserAuthSuccessResponse.json similarity index 100% rename from test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/CgibinUserAuthSuccessResponse.json rename to test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserAuthSuccessResponse.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserCheckMemberAuthRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserCheckMemberAuthRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserCheckMemberAuthRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserCheckMemberAuthResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserCheckMemberAuthResponse.json new file mode 100644 index 00000000..3c0d7c9e --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserCheckMemberAuthResponse.json @@ -0,0 +1,5 @@ +{ + "errcode": 0, + "errmsg": "ok", + "is_member_auth": true +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserListMemberAuthRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserListMemberAuthRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserListMemberAuthRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserListMemberAuthResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserListMemberAuthResponse.json new file mode 100644 index 00000000..57c7f40e --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Work.UnitTests/ModelSamples/CgibinUser/Auth/CgibinUserListMemberAuthResponse.json @@ -0,0 +1,10 @@ +{ + "errcode": 0, + "errmsg": "ok", + "next_cursor": "next_cursor", + "member_auth_list": [ + { + "open_userid": "xxx" + } + ] +}