add group1

This commit is contained in:
coding 2019-11-04 11:27:17 +08:00
parent 045a9e48e8
commit f028f077a2
11 changed files with 612 additions and 80 deletions

226
QA.html

File diff suppressed because one or more lines are too long

205
api.html
View File

@ -91,6 +91,19 @@
<li class="chapter " data-level="1.1" data-path="./">
<a href="./#vision">
愿景
</a>
</li>
<li class="chapter " data-level="1.2" data-path="./">
<a href="./#background">
@ -103,7 +116,7 @@
<ul class="articles">
<li class="chapter " data-level="1.1.1" data-path="./">
<li class="chapter " data-level="1.2.1" data-path="./">
<a href="./#what">
@ -121,7 +134,7 @@
</li>
<li class="chapter " data-level="1.2" data-path="./">
<li class="chapter " data-level="1.3" data-path="./">
<a href="./#character">
@ -135,7 +148,7 @@
<ul class="articles">
<li class="chapter " data-level="1.2.1" data-path="./">
<li class="chapter " data-level="1.3.1" data-path="./">
<a href="./#advantage">
@ -153,7 +166,7 @@
</li>
<li class="chapter " data-level="1.3" data-path="install.html">
<li class="chapter " data-level="1.4" data-path="install.html">
<a href="install.html">
@ -167,7 +180,7 @@
<ul class="articles">
<li class="chapter " data-level="1.3.1" data-path="install.html">
<li class="chapter " data-level="1.4.1" data-path="install.html">
<a href="install.html#quick">
@ -180,7 +193,20 @@
</li>
<li class="chapter " data-level="1.3.2" data-path="install.html">
<li class="chapter " data-level="1.4.2" data-path="install.html">
<a href="install.html#docker">
Docker体验
</a>
</li>
<li class="chapter " data-level="1.4.3" data-path="install.html">
<a href="install.html#compiler_install">
@ -193,7 +219,7 @@
</li>
<li class="chapter " data-level="1.3.3" data-path="install.html">
<li class="chapter " data-level="1.4.4" data-path="install.html">
<a href="install.html#small-cluster">
@ -206,12 +232,12 @@
</li>
<li class="chapter " data-level="1.3.4" data-path="install.html">
<li class="chapter " data-level="1.4.5" data-path="install.html">
<a href="install.html#big-cluster">
海量集群安装
海量集群安装(推荐)
</a>
@ -224,7 +250,65 @@
</li>
<li class="chapter " data-level="1.4" data-path="usage.html">
<li class="chapter " data-level="1.5" data-path="authentication.html">
<a href="authentication.html">
认证
</a>
<ul class="articles">
<li class="chapter " data-level="1.5.1" data-path="authentication.html">
<a href="authentication.html#fingerprint">
按文件指纹认证
</a>
</li>
<li class="chapter " data-level="1.5.2" data-path="authentication.html">
<a href="authentication.html#google">
按google认证码认证
</a>
</li>
<li class="chapter " data-level="1.5.3" data-path="authentication.html">
<a href="authentication.html#custom">
用户自定义认证
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.6" data-path="usage.html">
<a href="usage.html">
@ -238,7 +322,20 @@
<ul class="articles">
<li class="chapter " data-level="1.4.1" data-path="usage.html">
<li class="chapter " data-level="1.6.1" data-path="usage.html">
<a href="usage.html#description">
统一说明(重要)
</a>
</li>
<li class="chapter " data-level="1.6.2" data-path="usage.html">
<a href="usage.html#cmdline">
@ -251,7 +348,7 @@
</li>
<li class="chapter " data-level="1.4.2" data-path="usage.html">
<li class="chapter " data-level="1.6.3" data-path="usage.html">
<a href="usage.html#web">
@ -264,7 +361,7 @@
</li>
<li class="chapter " data-level="1.4.3" data-path="usage.html">
<li class="chapter " data-level="1.6.4" data-path="usage.html">
<a href="usage.html#python">
@ -277,7 +374,7 @@
</li>
<li class="chapter " data-level="1.4.4" data-path="usage.html">
<li class="chapter " data-level="1.6.5" data-path="usage.html">
<a href="usage.html#go">
@ -290,7 +387,7 @@
</li>
<li class="chapter " data-level="1.4.5" data-path="usage.html">
<li class="chapter " data-level="1.6.6" data-path="usage.html">
<a href="usage.html#java">
@ -301,6 +398,20 @@
<ul class="articles">
<li class="chapter " data-level="1.6.6.1" data-path="usage.html">
<a href="usage.html#java-stream">
Java流上传
</a>
</li>
@ -308,7 +419,12 @@
</li>
<li class="chapter " data-level="1.5" data-path="breakpoint.html">
</ul>
</li>
<li class="chapter " data-level="1.7" data-path="breakpoint.html">
<a href="breakpoint.html#go">
@ -319,9 +435,41 @@
<ul class="articles">
<li class="chapter " data-level="1.7.1" data-path="breakpoint.html">
<a href="breakpoint.html#go">
GO
</a>
</li>
<li class="chapter active" data-level="1.6" data-path="api.html">
<li class="chapter " data-level="1.7.2" data-path="breakpoint.html">
<a href="breakpoint.html#js">
Javascript
</a>
</li>
</ul>
</li>
<li class="chapter active" data-level="1.8" data-path="api.html">
<a href="api.html">
@ -334,7 +482,7 @@
</li>
<li class="chapter " data-level="1.7" data-path="QA.html">
<li class="chapter " data-level="1.9" data-path="QA.html">
<a href="QA.html">
@ -348,7 +496,7 @@
<ul class="articles">
<li class="chapter " data-level="1.7.1" data-path="QA.html">
<li class="chapter " data-level="1.9.1" data-path="QA.html">
<a href="QA.html">
@ -361,7 +509,7 @@
</li>
<li class="chapter " data-level="1.7.2" data-path="QA.html">
<li class="chapter " data-level="1.9.2" data-path="QA.html">
<a href="QA.html">
@ -379,6 +527,19 @@
</li>
<li class="chapter " data-level="1.10" data-path="upgrade.html">
<a href="upgrade.html">
更新历史
</a>
</li>
@ -522,7 +683,7 @@ force:&#x662F;&#x5426;&#x5F3A;&#x884C;&#x4FEE;&#x590D;(0|1)
<a href="breakpoint.html#go" class="navigation navigation-prev " aria-label="Previous page: 断点续传"SDK"">
<a href="breakpoint.html#js" class="navigation navigation-prev " aria-label="Previous page: Javascript">
<i class="fa fa-angle-left"></i>
</a>
@ -538,7 +699,7 @@ force:&#x662F;&#x5426;&#x5F3A;&#x884C;&#x4FEE;&#x590D;(0|1)
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"管理API","level":"1.6","depth":1,"next":{"title":"问题汇总","level":"1.7","depth":1,"path":"QA.md","ref":"QA.md","articles":[{"title":"常见问题","level":"1.7.1","depth":2,"path":"QA.md","ref":"QA.md","articles":[]},{"title":"维护问题","level":"1.7.2","depth":2,"path":"QA.md","ref":"QA.md","articles":[]}]},"previous":{"title":"断点续传\"SDK\"","level":"1.5","depth":1,"anchor":"#go","path":"breakpoint.md","ref":"breakpoint.md#go","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"api.md","mtime":"2019-08-23T03:25:24.133Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-23T06:46:29.017Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"管理API","level":"1.8","depth":1,"next":{"title":"问题汇总","level":"1.9","depth":1,"path":"QA.md","ref":"QA.md","articles":[{"title":"常见问题","level":"1.9.1","depth":2,"path":"QA.md","ref":"QA.md","articles":[]},{"title":"维护问题","level":"1.9.2","depth":2,"path":"QA.md","ref":"QA.md","articles":[]}]},"previous":{"title":"Javascript","level":"1.7.2","depth":2,"anchor":"#js","path":"breakpoint.md","ref":"breakpoint.md#js","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"api.md","mtime":"2019-08-23T03:25:24.133Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-11-04T03:24:31.908Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>

View File

@ -684,7 +684,7 @@ print(r.text)
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"认证","level":"1.5","depth":1,"next":{"title":"按文件指纹认证","level":"1.5.1","depth":2,"anchor":"#fingerprint","path":"authentication.md","ref":"authentication.md#fingerprint","articles":[]},"previous":{"title":"海量集群安装(推荐)","level":"1.4.5","depth":2,"anchor":"#big-cluster","path":"install.md","ref":"install.md#big-cluster","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"authentication.md","mtime":"2019-08-27T04:05:29.569Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-10-18T09:52:12.919Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"认证","level":"1.5","depth":1,"next":{"title":"按文件指纹认证","level":"1.5.1","depth":2,"anchor":"#fingerprint","path":"authentication.md","ref":"authentication.md#fingerprint","articles":[]},"previous":{"title":"海量集群安装(推荐)","level":"1.4.5","depth":2,"anchor":"#big-cluster","path":"install.md","ref":"install.md#big-cluster","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"authentication.md","mtime":"2019-08-27T04:05:29.569Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-11-04T03:24:31.908Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>

View File

@ -381,4 +381,3 @@ https://github.com/sjqzhang/go-fastdfs/wiki
#### 进群请改昵称,昵称格式:城市-公司-昵称,如果你喜欢这项目,请关注(star)此项目,关注是对项目的肯定,也是作者创新的动力。
#### [捐赠](https://raw.githubusercontent.com/sjqzhang/go-fastdfs/master/doc/pay.png)

View File

@ -17,7 +17,7 @@ http://10.1.5.9:8080/upload
# WEB上传浏览器打开{#web}
`http://yourserver ip:8080/upload.html` 注意不要使用127.0.0.1上传
`http://yourserver ip:8080/group1/upload.html` 注意不要使用127.0.0.1上传

View File

@ -57,7 +57,7 @@
<link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="api.html" />
<link rel="next" href="breakpoint.html" />
<link rel="prev" href="usage.html" />
@ -91,6 +91,19 @@
<li class="chapter " data-level="1.1" data-path="./">
<a href="./#vision">
愿景
</a>
</li>
<li class="chapter " data-level="1.2" data-path="./">
<a href="./#background">
@ -103,7 +116,7 @@
<ul class="articles">
<li class="chapter " data-level="1.1.1" data-path="./">
<li class="chapter " data-level="1.2.1" data-path="./">
<a href="./#what">
@ -121,7 +134,7 @@
</li>
<li class="chapter " data-level="1.2" data-path="./">
<li class="chapter " data-level="1.3" data-path="./">
<a href="./#character">
@ -135,7 +148,7 @@
<ul class="articles">
<li class="chapter " data-level="1.2.1" data-path="./">
<li class="chapter " data-level="1.3.1" data-path="./">
<a href="./#advantage">
@ -153,7 +166,7 @@
</li>
<li class="chapter " data-level="1.3" data-path="install.html">
<li class="chapter " data-level="1.4" data-path="install.html">
<a href="install.html">
@ -167,7 +180,7 @@
<ul class="articles">
<li class="chapter " data-level="1.3.1" data-path="install.html">
<li class="chapter " data-level="1.4.1" data-path="install.html">
<a href="install.html#quick">
@ -180,7 +193,20 @@
</li>
<li class="chapter " data-level="1.3.2" data-path="install.html">
<li class="chapter " data-level="1.4.2" data-path="install.html">
<a href="install.html#docker">
Docker体验
</a>
</li>
<li class="chapter " data-level="1.4.3" data-path="install.html">
<a href="install.html#compiler_install">
@ -193,7 +219,7 @@
</li>
<li class="chapter " data-level="1.3.3" data-path="install.html">
<li class="chapter " data-level="1.4.4" data-path="install.html">
<a href="install.html#small-cluster">
@ -206,12 +232,12 @@
</li>
<li class="chapter " data-level="1.3.4" data-path="install.html">
<li class="chapter " data-level="1.4.5" data-path="install.html">
<a href="install.html#big-cluster">
海量集群安装
海量集群安装(推荐)
</a>
@ -224,7 +250,65 @@
</li>
<li class="chapter " data-level="1.4" data-path="usage.html">
<li class="chapter " data-level="1.5" data-path="authentication.html">
<a href="authentication.html">
认证
</a>
<ul class="articles">
<li class="chapter " data-level="1.5.1" data-path="authentication.html">
<a href="authentication.html#fingerprint">
按文件指纹认证
</a>
</li>
<li class="chapter " data-level="1.5.2" data-path="authentication.html">
<a href="authentication.html#google">
按google认证码认证
</a>
</li>
<li class="chapter " data-level="1.5.3" data-path="authentication.html">
<a href="authentication.html#custom">
用户自定义认证
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.6" data-path="usage.html">
<a href="usage.html">
@ -238,7 +322,20 @@
<ul class="articles">
<li class="chapter " data-level="1.4.1" data-path="usage.html">
<li class="chapter " data-level="1.6.1" data-path="usage.html">
<a href="usage.html#description">
统一说明(重要)
</a>
</li>
<li class="chapter " data-level="1.6.2" data-path="usage.html">
<a href="usage.html#cmdline">
@ -251,7 +348,7 @@
</li>
<li class="chapter " data-level="1.4.2" data-path="usage.html">
<li class="chapter " data-level="1.6.3" data-path="usage.html">
<a href="usage.html#web">
@ -264,7 +361,7 @@
</li>
<li class="chapter " data-level="1.4.3" data-path="usage.html">
<li class="chapter " data-level="1.6.4" data-path="usage.html">
<a href="usage.html#python">
@ -277,7 +374,7 @@
</li>
<li class="chapter " data-level="1.4.4" data-path="usage.html">
<li class="chapter " data-level="1.6.5" data-path="usage.html">
<a href="usage.html#go">
@ -290,7 +387,7 @@
</li>
<li class="chapter " data-level="1.4.5" data-path="usage.html">
<li class="chapter " data-level="1.6.6" data-path="usage.html">
<a href="usage.html#java">
@ -301,6 +398,20 @@
<ul class="articles">
<li class="chapter " data-level="1.6.6.1" data-path="usage.html">
<a href="usage.html#java-stream">
Java流上传
</a>
</li>
@ -308,7 +419,12 @@
</li>
<li class="chapter " data-level="1.5" data-path="breakpoint.html">
</ul>
</li>
<li class="chapter " data-level="1.7" data-path="breakpoint.html">
<a href="breakpoint.html#go">
@ -319,9 +435,41 @@
<ul class="articles">
<li class="chapter " data-level="1.7.1" data-path="breakpoint.html">
<a href="breakpoint.html#go">
GO
</a>
</li>
<li class="chapter " data-level="1.6" data-path="api.html">
<li class="chapter " data-level="1.7.2" data-path="breakpoint.html">
<a href="breakpoint.html#js">
Javascript
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.8" data-path="api.html">
<a href="api.html">
@ -334,7 +482,7 @@
</li>
<li class="chapter " data-level="1.7" data-path="QA.html">
<li class="chapter " data-level="1.9" data-path="QA.html">
<a href="QA.html">
@ -348,7 +496,7 @@
<ul class="articles">
<li class="chapter " data-level="1.7.1" data-path="QA.html">
<li class="chapter " data-level="1.9.1" data-path="QA.html">
<a href="QA.html">
@ -361,7 +509,7 @@
</li>
<li class="chapter " data-level="1.7.2" data-path="QA.html">
<li class="chapter " data-level="1.9.2" data-path="QA.html">
<a href="QA.html">
@ -379,6 +527,19 @@
</li>
<li class="chapter " data-level="1.10" data-path="upgrade.html">
<a href="upgrade.html">
更新历史
</a>
</li>
@ -456,6 +617,37 @@
<span class="hljs-string">`
</span></code></pre>
<h2 id="js">javascript&#x7248;&#x672C; <a href="https://uppy.io/" target="_blank">&#x66F4;&#x591A;&#x8BF7;&#x67E5;&#x9605;</a></h2>
<pre><code class="lang-html">
<span class="hljs-tag">&lt;<span class="hljs-name">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">charset</span>=<span class="hljs-string">&quot;utf-8&quot;</span> /&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>go-fastdfs<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">style</span>&gt;</span><span class="undefined">form { bargin } .form-line { display:block;height: 30px;margin:8px; } #stdUpload {background: #fafafa;border-radius: 10px;width: 745px; }</span><span class="hljs-tag">&lt;/<span class="hljs-name">style</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">link</span> <span class="hljs-attr">href</span>=<span class="hljs-string">&quot;https://transloadit.edgly.net/releases/uppy/v0.30.0/dist/uppy.min.css&quot;</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">&quot;stylesheet&quot;</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">div</span>&gt;</span>&#x65AD;&#x70B9;&#x7EED;&#x4F20;&#xFF08;&#x5982;&#x679C;&#x6587;&#x4EF6;&#x5F88;&#x5927;&#x65F6;&#x53EF;&#x4EE5;&#x8003;&#x8651;&#xFF09;<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">div</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">&quot;drag-drop-area&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://transloadit.edgly.net/releases/uppy/v0.30.0/dist/uppy.min.js&quot;</span>&gt;</span><span class="undefined"></span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="actionscript"><span class="hljs-keyword">var</span> uppy = Uppy.Core().use(Uppy.Dashboard, {
inline: <span class="hljs-literal">true</span>,
target: <span class="hljs-string">&apos;#drag-drop-area&apos;</span>
}).use(Uppy.Tus, {
endpoint: <span class="hljs-string">&apos;/big/upload/&apos;</span>
})
uppy.on(<span class="hljs-string">&apos;complete&apos;</span>, (result) =&gt; {
<span class="hljs-comment">// console.log(result) console.log(&apos;Upload complete! We&#x2019;ve uploaded these files:&apos;, result.successful)</span>
})
uppy.setMeta({ auth_token: <span class="hljs-string">&apos;xx&apos;</span>,callback_url:<span class="hljs-string">&apos;http://127.0.0.1/callback&apos;</span> })<span class="hljs-comment">//&#x8FD9;&#x91CC;&#x662F;&#x4F20;&#x9012;&#x4E0A;&#x4F20;&#x7684;&#x8BA4;&#x8BC1;&#x53C2;&#x6570;,callback_url&#x53C2;&#x6570;&#x4E2D; id&#x4E3A;&#x6587;&#x4EF6;&#x7684;ID,info &#x6587;&#x8F6C;&#x7684;&#x57FA;&#x672C;&#x4FE1;&#x606F;json</span>
</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<p><a href="https://github.com/tus" target="_blank">&#x66F4;&#x591A;&#x5BA2;&#x6237;&#x7AEF;&#x8BF7;&#x53C2;&#x8003;</a></p>
@ -484,12 +676,12 @@
<a href="usage.html#java" class="navigation navigation-prev " aria-label="Previous page: Java语言">
<a href="usage.html#java-stream" class="navigation navigation-prev " aria-label="Previous page: Java流上传">
<i class="fa fa-angle-left"></i>
</a>
<a href="api.html" class="navigation navigation-next " aria-label="Next page: 管理API">
<a href="breakpoint.html#go" class="navigation navigation-next " aria-label="Next page: GO">
<i class="fa fa-angle-right"></i>
</a>
@ -500,7 +692,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"断点续传\"SDK\"","level":"1.5","depth":1,"next":{"title":"管理API","level":"1.6","depth":1,"path":"api.md","ref":"api.md","articles":[]},"previous":{"title":"Java语言","level":"1.4.5","depth":2,"anchor":"#java","path":"usage.md","ref":"usage.md#java","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"breakpoint.md","mtime":"2019-08-23T06:45:05.412Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-23T06:46:29.017Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"断点续传\"SDK\"","level":"1.7","depth":1,"next":{"title":"GO","level":"1.7.1","depth":2,"anchor":"#go","path":"breakpoint.md","ref":"breakpoint.md#go","articles":[]},"previous":{"title":"Java流上传","level":"1.6.6.1","depth":3,"anchor":"#java-stream","path":"usage.md","ref":"usage.md#java-stream","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"breakpoint.md","mtime":"2019-08-29T03:43:35.178Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-11-04T03:24:31.908Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>

View File

@ -696,7 +696,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"愿景","level":"1.1","depth":1,"next":{"title":"背景","level":"1.2","depth":1,"anchor":"#background","path":"README.md","ref":"README.md#background","articles":[{"title":"go-fastdfs是什么","level":"1.2.1","depth":2,"anchor":"#what","path":"README.md","ref":"README.md#what","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2019-09-09T06:17:48.684Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-10-18T09:52:12.919Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"愿景","level":"1.1","depth":1,"next":{"title":"背景","level":"1.2","depth":1,"anchor":"#background","path":"README.md","ref":"README.md#background","articles":[{"title":"go-fastdfs是什么","level":"1.2.1","depth":2,"anchor":"#what","path":"README.md","ref":"README.md#what","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2019-09-09T06:17:48.684Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-11-04T03:24:31.908Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>

View File

@ -753,7 +753,7 @@ http {
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"安装","level":"1.4","depth":1,"next":{"title":"极速体验","level":"1.4.1","depth":2,"anchor":"#quick","path":"install.md","ref":"install.md#quick","articles":[]},"previous":{"title":"go-fastdfs优点","level":"1.3.1","depth":2,"anchor":"#advantage","path":"README.md","ref":"README.md#advantage","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"install.md","mtime":"2019-10-18T09:41:45.852Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-10-18T09:52:12.919Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"安装","level":"1.4","depth":1,"next":{"title":"极速体验","level":"1.4.1","depth":2,"anchor":"#quick","path":"install.md","ref":"install.md#quick","articles":[]},"previous":{"title":"go-fastdfs优点","level":"1.3.1","depth":2,"anchor":"#advantage","path":"README.md","ref":"README.md#advantage","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"install.md","mtime":"2019-10-18T09:41:45.852Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-11-04T03:24:31.908Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>

File diff suppressed because one or more lines are too long

View File

@ -651,7 +651,7 @@ v1.0.3 &#x589E;&#x52A0;&#x81EA;&#x52A8;&#x4FEE;&#x590D;&#x7EDF;&#x8BA1;&#x4FE1;&
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"更新历史","level":"1.10","depth":1,"previous":{"title":"维护问题","level":"1.9.2","depth":2,"path":"QA.md","ref":"QA.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"upgrade.md","mtime":"2019-08-26T02:32:14.286Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-09-24T03:07:54.323Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"更新历史","level":"1.10","depth":1,"previous":{"title":"维护问题","level":"1.9.2","depth":2,"path":"QA.md","ref":"QA.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"upgrade.md","mtime":"2019-08-26T02:32:14.286Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-11-04T03:24:31.908Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>
@ -661,6 +661,10 @@ v1.0.3 &#x589E;&#x52A0;&#x81EA;&#x52A8;&#x4FEE;&#x590D;&#x7EDF;&#x8BA1;&#x4FE1;&
<script src="gitbook/theme.js"></script>
<script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
<script src="gitbook/gitbook-plugin-search/search-engine.js"></script>

View File

@ -597,7 +597,7 @@ http://10.1.5.9:8080/upload
</code></pre><h1 id="cmdline">&#x547D;&#x4EE4;&#x4E0A;&#x4F20;</h1>
<p><code>curl -F file=@http-index-fs http://10.1.xx.60:8080/group1/upload</code> </p>
<h1 id="web">WEB&#x4E0A;&#x4F20;&#xFF08;&#x6D4F;&#x89C8;&#x5668;&#x6253;&#x5F00;&#xFF09;</h1>
<p><code>http://yourserver ip:8080/upload.html</code> &#x6CE8;&#x610F;&#xFF1A;&#x4E0D;&#x8981;&#x4F7F;&#x7528;127.0.0.1&#x4E0A;&#x4F20; </p>
<p><code>http://yourserver ip:8080/group1/upload.html</code> &#x6CE8;&#x610F;&#xFF1A;&#x4E0D;&#x8981;&#x4F7F;&#x7528;127.0.0.1&#x4E0A;&#x4F20; </p>
<h2 id="python">python&#x7248;&#x672C;: </h2>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> requests
url = <span class="hljs-string">&apos;http://10.1.5.9:8080/group1/upload&apos;</span>
@ -820,7 +820,7 @@ pom&#x6587;&#x4EF6;&#x4F9D;&#x8D56;</p>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"语言\"SDK\"","level":"1.6","depth":1,"next":{"title":"统一说明(重要)","level":"1.6.1","depth":2,"anchor":"#description","path":"usage.md","ref":"usage.md#description","articles":[]},"previous":{"title":"用户自定义认证","level":"1.5.3","depth":2,"anchor":"#custom","path":"authentication.md","ref":"authentication.md#custom","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"usage.md","mtime":"2019-09-24T02:43:29.637Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-10-18T09:52:12.919Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"语言\"SDK\"","level":"1.6","depth":1,"next":{"title":"统一说明(重要)","level":"1.6.1","depth":2,"anchor":"#description","path":"usage.md","ref":"usage.md#description","articles":[]},"previous":{"title":"用户自定义认证","level":"1.5.3","depth":2,"anchor":"#custom","path":"authentication.md","ref":"authentication.md#custom","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"usage.md","mtime":"2019-11-04T03:26:02.622Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-11-04T03:24:31.908Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>