diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDeleteFileRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDeleteFileRequest.json new file mode 100644 index 00000000..312bff7f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDeleteFileRequest.json @@ -0,0 +1,6 @@ +{ + "env": "test2-4a89da", + "fileid_list": [ + "cloud://test2-4a89da.7465-test2-4a89da/A.png" + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDeleteFileResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDeleteFileResponse.json new file mode 100644 index 00000000..98178bc9 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDeleteFileResponse.json @@ -0,0 +1,11 @@ +{ + "errcode": 0, + "errmsg": "ok", + "delete_list": [ + { + "fileid": "cloud://test2-4a89da.7465-test2-4a89da/A.png", + "status": 0, + "errmsg": "ok" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDownloadFileRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDownloadFileRequest.json new file mode 100644 index 00000000..0449b8d2 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDownloadFileRequest.json @@ -0,0 +1,9 @@ +{ + "env": "test2-4a89da", + "file_list": [ + { + "fileid": "cloud://test2-4a89da.7465-test2-4a89da/A.png", + "max_age": 7200 + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDownloadFileResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDownloadFileResponse.json new file mode 100644 index 00000000..90a12451 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbBatchDownloadFileResponse.json @@ -0,0 +1,12 @@ +{ + "errcode": 0, + "errmsg": "ok", + "file_list": [ + { + "fileid": "cloud://test2-4a89da.7465-test2-4a89da/A.png", + "download_url": "https://7465-test2-4a89da-1258717764.tcb.qcloud.la/A.png", + "status": 0, + "errmsg": "ok" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbUploadFileRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbUploadFileRequest.json new file mode 100644 index 00000000..13c03f75 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbUploadFileRequest.json @@ -0,0 +1,4 @@ +{ + "env": "test2-4a89da", + "path": "this/is/a/example/file.path" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbUploadFileResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbUploadFileResponse.json new file mode 100644 index 00000000..38605fb0 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Tcb/ThirdPartyPlatforms/TcbUploadFileResponse.json @@ -0,0 +1,9 @@ +{ + "errcode": 0, + "errmsg": "ok", + "url": "https://cos.ap-shanghai.myqcloud.com/7465-test2-4a89da-1258717764/testupload", + "token": "Cukha70zkXIBqkh1OhUIFqjUmXLXeSWq7dff61099221bb270522b8e0cf21d72e0aWCfGXEIDT5bKVJgykFFr9_MeQ-ExrsZ8oiFdMwyYag8h0r-EJq_EaO94KzksxH6bAeb4Y7SwZjJqoy_4g1Na797F1IEG9Dnstm_rz02AgaP5HbJwt1P-XHT4Xjw_lafla079gtQKAP-EPbE5Tc8BRXIm32esjGDDDuDyml7IJqbsPolYZ4-CHQsisdx488loGAN4f7YRMkrrP1Pgi5XOm0-iG5HbWd3tHtuE2pzsGkTobO_fyz2PfSPaeUt_735ll38yIWpAFESAsZnBj2DcRSPBT2FJ_s5mOZACS53q6-tWXPO0AR3-EhOCQpiDKsldVsCxz00Uwhgm1T6Ozw777fJEFkUIngUdZ5yajy3LA84Mpfu6CLkFjfiBtz3wpmcCQxhijo_CrVHkmaMc2JBQ", + "authorization": "q-sign-algorithm=sha1&q-ak=AKID98EDB528Sfqerp0Z_7l23we-u4Avrx04te9VvlzGihMTseysMgu7iSdh_hxEnoAy&q-sign-time=1557307130;1557308030&q-key-time=1557307130;1557308030&q-header-list=&q-url-param-list=&q-signature=ac95227b67a04157bb5e49b435c6ac3ce88e03f2", + "file_id": "cloud://test2-4a89da.7465-test2-4a89da-1258717764/testupload", + "cos_file_id": "HDze32/qZENCwWi5N5akgoXSv3U8DsccKaqCxTMGs0zFgvlD28j484/VYFPJ1l2QDh0Qy8wNbQCpxs5zEsLJln1lIY9RGYn1LzRQQQYFQm+Xwvw6S4YEZN1AIwY906mwIBgiI3gKGkU2K1+1ZEnEYEM4Uh/C1JxB4Q==" +} \ No newline at end of file