From 348bf64993742800828661c8e8f011dd98751441 Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Tue, 1 Jul 2025 14:47:50 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/JCS_pub_API.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/JCS_pub_API.md b/docs/JCS_pub_API.md index 62bc6b7..12cac42 100644 --- a/docs/JCS_pub_API.md +++ b/docs/JCS_pub_API.md @@ -110,25 +110,25 @@ Accept-Encoding: gzip, deflate, br Connection: keep-alive Content-Type: multipart/form-data; boundary=--------------------------818270992847011232305151 Content-Length: 1649 - -----------------------------818270992847011232305151 + +----------------------------818270992847011232305151 Content-Disposition: form-data; name="info" - + { "userID": 1, "packageID": 1 } -----------------------------818270992847011232305151 +----------------------------818270992847011232305151 Content-Disposition: form-data; name="files"; filename="test.txt" Content-Type: text/plain - + testdata -----------------------------818270992847011232305151 +----------------------------818270992847011232305151 Content-Disposition: form-data; name="files"; filename="a%2Fb%2Ftest2.txt" Content-Type: text/plain - + testdata2 -----------------------------818270992847011232305151-- +----------------------------818270992847011232305151-- From 1cd521d5f37a1de8885b71c0f0fd6413a4433c45 Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Tue, 1 Jul 2025 15:04:19 +0800 Subject: [PATCH 02/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/JCS_pub_API.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/JCS_pub_API.md b/docs/JCS_pub_API.md index 12cac42..6a14103 100644 --- a/docs/JCS_pub_API.md +++ b/docs/JCS_pub_API.md @@ -108,27 +108,26 @@ Postman-Token: c12fa8b5-d902-46f3-b104-028effa0d531 Host: localhost:7890 Accept-Encoding: gzip, deflate, br Connection: keep-alive -Content-Type: multipart/form-data; boundary=--------------------------818270992847011232305151 +Content-Type: multipart/form-data; boundary=-------------------818270992847011232305151 Content-Length: 1649 - -----------------------------818270992847011232305151 + +-------------------818270992847011232305151 Content-Disposition: form-data; name="info" - + { "userID": 1, "packageID": 1 } -----------------------------818270992847011232305151 +-------------------818270992847011232305151 Content-Disposition: form-data; name="files"; filename="test.txt" Content-Type: text/plain - +\n\n testdata -----------------------------818270992847011232305151 +-------------------818270992847011232305151 Content-Disposition: form-data; name="files"; filename="a%2Fb%2Ftest2.txt" -Content-Type: text/plain - +\n testdata2 -----------------------------818270992847011232305151-- +-------------------818270992847011232305151-- From 602b83ee86d884d6163488cf0a17e0f249699f3d Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Tue, 1 Jul 2025 15:13:23 +0800 Subject: [PATCH 03/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/JCS_pub_API.md | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/docs/JCS_pub_API.md b/docs/JCS_pub_API.md index 6a14103..4015935 100644 --- a/docs/JCS_pub_API.md +++ b/docs/JCS_pub_API.md @@ -108,26 +108,26 @@ Postman-Token: c12fa8b5-d902-46f3-b104-028effa0d531 Host: localhost:7890 Accept-Encoding: gzip, deflate, br Connection: keep-alive -Content-Type: multipart/form-data; boundary=-------------------818270992847011232305151 +Content-Type: multipart/form-data; boundary=-----------------------------818270992847011232305151 Content-Length: 1649 --------------------818270992847011232305151 +-----------------------------818270992847011232305151 Content-Disposition: form-data; name="info" - + { "userID": 1, "packageID": 1 } --------------------818270992847011232305151 +-----------------------------818270992847011232305151 Content-Disposition: form-data; name="files"; filename="test.txt" Content-Type: text/plain -\n\n + testdata --------------------818270992847011232305151 +-----------------------------818270992847011232305151 Content-Disposition: form-data; name="files"; filename="a%2Fb%2Ftest2.txt" -\n + testdata2 --------------------818270992847011232305151-- +-----------------------------818270992847011232305151-- @@ -185,9 +185,11 @@ testdata2 Query -
● objectID:int64
-● offset:int64,偏移量
-● length:int64,读取长度。不存在则读取整个对象
+

+ ● objectID:int64 + ● offset:int64,偏移量 + ● length:int64,读取长度。不存在则读取整个对象 +

@@ -199,8 +201,8 @@ testdata2 - 如果请求成功,那么Content-Type将会是application/octet-stream,响应体就是文件数据。 - 如果失败,那么Content-Type将会是application/json,响应体格式如下: +

如果请求成功,那么Content-Type将会是application/octet-stream,响应体就是文件数据。

+

如果失败,那么Content-Type将会是application/json,响应体格式如下:

{
     "code": "OperationFailed",
     "message": "xxxxxxxx",

From c068e6f5e4b073d7e973a1c3afe0dde25dc5c589 Mon Sep 17 00:00:00 2001
From: songjc <969378911@qq.com>
Date: Tue, 1 Jul 2025 15:26:35 +0800
Subject: [PATCH 04/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 docs/JCS_pub_API.md | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/docs/JCS_pub_API.md b/docs/JCS_pub_API.md
index 4015935..bd20fe7 100644
--- a/docs/JCS_pub_API.md
+++ b/docs/JCS_pub_API.md
@@ -185,11 +185,9 @@ testdata2
     
         Query
         
-        

- ● objectID:int64 - ● offset:int64,偏移量 - ● length:int64,读取长度。不存在则读取整个对象 -

+

● objectID:int64 + ● offset:int64,偏移量 + ● length:int64,读取长度。不存在则读取整个对象

@@ -279,7 +277,7 @@ testdata2 background-color: #ffffff; } -.api-doc-table td:first-child { +.api-doc-table tr:not(:last-child) td:first-child { font-weight: bold; } From 27473b08a6b2b29c16422a577c8b2c98a43cca7c Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Tue, 1 Jul 2025 15:46:00 +0800 Subject: [PATCH 05/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/JCS_pub_API.md | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/docs/JCS_pub_API.md b/docs/JCS_pub_API.md index bd20fe7..64e0589 100644 --- a/docs/JCS_pub_API.md +++ b/docs/JCS_pub_API.md @@ -185,9 +185,9 @@ testdata2 Query -

● objectID:int64 - ● offset:int64,偏移量 - ● length:int64,读取长度。不存在则读取整个对象

+

- objectID:int64 + - offset:int64,偏移量 + - length:int64,读取长度。不存在则读取整个对象

@@ -272,7 +272,7 @@ testdata2 } .api-doc-table td { - padding: 8px 12px; + padding: 2px 12px; border-top: 1px solid #eaecef; background-color: #ffffff; } @@ -280,12 +280,5 @@ testdata2 .api-doc-table tr:not(:last-child) td:first-child { font-weight: bold; } - -/* .api-doc-table pre { - margin: 0; - font-family: monospace; - font-size: 14px; - line-height: 1.5; -} */ From e12f2d1462f1424a6854d955b63b9ec376d1fe0a Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Tue, 1 Jul 2025 15:48:36 +0800 Subject: [PATCH 06/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/JCS_pub_API.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/JCS_pub_API.md b/docs/JCS_pub_API.md index 64e0589..3e8c116 100644 --- a/docs/JCS_pub_API.md +++ b/docs/JCS_pub_API.md @@ -272,7 +272,6 @@ testdata2 } .api-doc-table td { - padding: 2px 12px; border-top: 1px solid #eaecef; background-color: #ffffff; } From ba51462f0fa38ae67ac694565472c8c219264a09 Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Tue, 1 Jul 2025 15:53:47 +0800 Subject: [PATCH 07/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/JCS_pub_API.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/JCS_pub_API.md b/docs/JCS_pub_API.md index 3e8c116..83708dc 100644 --- a/docs/JCS_pub_API.md +++ b/docs/JCS_pub_API.md @@ -279,5 +279,10 @@ testdata2 .api-doc-table tr:not(:last-child) td:first-child { font-weight: bold; } + +.api-doc-table p { + margin: 4px 0; + line-height: 1.4; +} From c0424d4342a220c1dc1970718dc8f4e26a9317f8 Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Tue, 1 Jul 2025 15:55:08 +0800 Subject: [PATCH 08/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/JCS_pub_API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/JCS_pub_API.md b/docs/JCS_pub_API.md index 83708dc..ff60137 100644 --- a/docs/JCS_pub_API.md +++ b/docs/JCS_pub_API.md @@ -281,8 +281,8 @@ testdata2 } .api-doc-table p { - margin: 4px 0; - line-height: 1.4; + margin: 0 0; + line-height: 1.1; } From f5a6e4f1b121f96380dfc9580749faeb63ac2ff5 Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Tue, 1 Jul 2025 16:05:21 +0800 Subject: [PATCH 09/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/JCS_pub_API.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/JCS_pub_API.md b/docs/JCS_pub_API.md index ff60137..ce2a436 100644 --- a/docs/JCS_pub_API.md +++ b/docs/JCS_pub_API.md @@ -272,7 +272,6 @@ testdata2 } .api-doc-table td { - border-top: 1px solid #eaecef; background-color: #ffffff; } @@ -281,8 +280,8 @@ testdata2 } .api-doc-table p { - margin: 0 0; - line-height: 1.1; + margin: 0 0 0 0; + line-height: 1; } From 7616bd08d72457a4332fc05b9741b97c012d89b4 Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Tue, 1 Jul 2025 16:07:29 +0800 Subject: [PATCH 10/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/JCS_pub_API.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/JCS_pub_API.md b/docs/JCS_pub_API.md index ce2a436..fad7309 100644 --- a/docs/JCS_pub_API.md +++ b/docs/JCS_pub_API.md @@ -99,8 +99,8 @@ "packageID": 1, // PackageID,使用从创建Package接口返回的ID "affinity": 1 // 文件优先上传到哪个存储空间,可以不填。 }
-

之后的每一个part都是一个文件,name为files,filename为文件路径,需要进行URL编码。

-

一个例子:

+

之后的每一个part都是一个文件,name为files,filename为文件路径,需要进行URL编码。 +一个例子:

POST /object/upload HTTP/1.1
 User-Agent: PostmanRuntime/7.29.0
 Accept: */*
@@ -199,8 +199,8 @@ testdata2
     
     
         
-        

如果请求成功,那么Content-Type将会是application/octet-stream,响应体就是文件数据。

-

如果失败,那么Content-Type将会是application/json,响应体格式如下:

+

如果请求成功,那么Content-Type将会是application/octet-stream,响应体就是文件数据。 +如果失败,那么Content-Type将会是application/json,响应体格式如下:

{
     "code": "OperationFailed",
     "message": "xxxxxxxx",
@@ -280,8 +280,8 @@ testdata2
 }
 
 .api-doc-table p {
-  margin: 0 0 0 0;
-  line-height: 1;
+  margin: 0 0;
+  line-height: 1.1;
 }