mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-04 08:01:39 +08:00
一些不太重要的文件的小变动
This commit is contained in:
6
bookshelfplus/.idea/runConfigurations/App.xml
generated
6
bookshelfplus/.idea/runConfigurations/App.xml
generated
@@ -1,15 +1,15 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="App" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
|
||||
<option name="ACTIVE_PROFILES" />
|
||||
<module name="bookshelfplus" />
|
||||
<option name="SPRING_BOOT_MAIN_CLASS" value="plus.bookshelf.App" />
|
||||
<option name="VM_PARAMETERS" value="-XX:+AlwaysPreTouch -Xms128m -Xmx2048m -Dspring.jmx.enabled=false -client -DarchetypeCatalog=internal -Ddruid.mysql.usePingMethod=false" />
|
||||
<extension name="coverage">
|
||||
<pattern>
|
||||
<option name="PATTERN" value="plus.bookshelf.*" />
|
||||
<option name="ENABLED" value="true" />
|
||||
</pattern>
|
||||
</extension>
|
||||
<option name="SPRING_BOOT_MAIN_CLASS" value="plus.bookshelf.App" />
|
||||
<option name="VM_PARAMETERS" value="-XX:+AlwaysPreTouch -Xms128m -Xmx2048m -Dspring.jmx.enabled=false -client -DarchetypeCatalog=internal" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<method v="2">
|
||||
<option name="Make" enabled="true" />
|
||||
</method>
|
||||
|
@@ -684,12 +684,14 @@ __可选__||string
|
||||
__可选__||integer (int32)
|
||||
|**FormData**|**fileName** +
|
||||
__可选__||string
|
||||
|**FormData**|**fileNameAndExt** +
|
||||
__可选__||string
|
||||
|**FormData**|**fileSha1** +
|
||||
__可选__||string
|
||||
|**FormData**|**fileSize** +
|
||||
__可选__||integer (int64)
|
||||
|**FormData**|**fileType** +
|
||||
__可选__||string
|
||||
|**FormData**|**lastModified** +
|
||||
__可选__||integer (int64)
|
||||
|**FormData**|**token** +
|
||||
__可选__||string
|
||||
|===
|
||||
@@ -745,6 +747,60 @@ __可选__||string
|
||||
----
|
||||
|
||||
|
||||
[[_getfileusingget]]
|
||||
==== 书籍下载页面获取文件提供的下载方式
|
||||
....
|
||||
GET /api/file/getFile
|
||||
....
|
||||
|
||||
|
||||
===== 参数
|
||||
|
||||
[options="header", cols=".^2a,.^3a,.^9a,.^4a"]
|
||||
|===
|
||||
|类型|名称|说明|类型
|
||||
|**Query**|**bookId** +
|
||||
__可选__|bookId|integer (int32)
|
||||
|===
|
||||
|
||||
|
||||
===== 响应
|
||||
|
||||
[options="header", cols=".^2a,.^14a,.^4a"]
|
||||
|===
|
||||
|HTTP代码|说明|类型
|
||||
|**200**|OK|<<_commonreturntype,CommonReturnType>>
|
||||
|**401**|Unauthorized|无内容
|
||||
|**403**|Forbidden|无内容
|
||||
|**404**|Not Found|无内容
|
||||
|===
|
||||
|
||||
|
||||
===== 生成
|
||||
|
||||
* `\*/*`
|
||||
|
||||
|
||||
===== HTTP请求示例
|
||||
|
||||
====== 请求 path
|
||||
----
|
||||
/api/file/getFile
|
||||
----
|
||||
|
||||
|
||||
===== HTTP响应示例
|
||||
|
||||
====== 响应 200
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
"data" : "object",
|
||||
"status" : "string"
|
||||
}
|
||||
----
|
||||
|
||||
|
||||
[[_listusingpost]]
|
||||
==== 【管理员】查询文件列表
|
||||
....
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user