You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/01/04 01:36:42 UTC

[GitHub] WillemJiang closed pull request #79: 文件上传body增加一个单位描述

WillemJiang closed pull request #79: 文件上传body增加一个单位描述
URL: https://github.com/apache/servicecomb-docs/pull/79
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/java-chassis-reference/en_US/general-development/file-upload.md b/java-chassis-reference/en_US/general-development/file-upload.md
index 861af03..e4e0930 100644
--- a/java-chassis-reference/en_US/general-development/file-upload.md
+++ b/java-chassis-reference/en_US/general-development/file-upload.md
@@ -44,7 +44,7 @@ public String fileUpload(@RequestPart(name = "file1") MultipartFile file1, @Requ
 | Configuration Item | Default Value | Range of Value |
 | :--- | :--- | :--- | :--- |
 | servicecomb.uploads.directory | null | | In which directory the uploaded temporary file is saved, **default value null means file upload is not supported** |
-| servicecomb.uploads.maxSize | -1 | | The maximum allowable size of http body, the default value of -1 means unlimited |
+| servicecomb.uploads.maxSize | -1 | | The maximum allowable size of http body in bytes. the default value of -1 means unlimited |
 
 ## Consumer:
 
diff --git a/java-chassis-reference/zh_CN/general-development/file-upload.md b/java-chassis-reference/zh_CN/general-development/file-upload.md
index 0f99b7b..8a83cf9 100644
--- a/java-chassis-reference/zh_CN/general-development/file-upload.md
+++ b/java-chassis-reference/zh_CN/general-development/file-upload.md
@@ -44,7 +44,7 @@ public String fileUpload(@RequestPart(name = "file1") MultipartFile file1, @Requ
 | 配置项 | 默认值 | 取值范围 | 含义 |
 | :--- | :--- | :--- | :--- |
 | servicecomb.uploads.directory | null |  | 上传的临时文件保存在哪个目录,**默认值null表示不支持文件上传** |
-| servicecomb.uploads.maxSize | -1 |  | http body的最大允许大小,默认值-1表示无限制 |
+| servicecomb.uploads.maxSize | -1 |  | http body的最大允许大小,单位byte,默认值-1表示无限制 |
 
 ## Consumer:
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services