Skip to content

Commit 554bcfc

Browse files
committed
Merge branch 'fix-bug'
2 parents 25bab76 + ad03462 commit 554bcfc

File tree

3 files changed

+4
-52
lines changed

3 files changed

+4
-52
lines changed

docs/docs.go

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
22
// This file was generated by swaggo/swag at
3-
// 2018-12-29 00:06:54.313389783 +0800 CST m=+0.039124023
3+
// 2018-12-29 00:30:09.519710373 +0800 CST m=+0.032583865
44

55
package docs
66

@@ -100,7 +100,7 @@ var doc = `{
100100
"tags": [
101101
"qiniu"
102102
],
103-
"summary": "更新文件类型",
103+
"summary": "文件上传",
104104
"parameters": [
105105
{
106106
"type": "string",
@@ -115,22 +115,6 @@ var doc = `{
115115
"name": "file",
116116
"in": "formData",
117117
"required": true
118-
},
119-
{
120-
"type": "integer",
121-
"description": "文件id",
122-
"name": "id",
123-
"in": "query",
124-
"required": true
125-
}
126-
],
127-
"responses": {
128-
"200": {
129-
"description": "OK",
130-
"schema": {
131-
"type": "object",
132-
"$ref": "#/definitions/null"
133-
}
134118
}
135119
],
136120
"responses": {

docs/swagger/swagger.json

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"tags": [
8888
"qiniu"
8989
],
90-
"summary": "更新文件类型",
90+
"summary": "文件上传",
9191
"parameters": [
9292
{
9393
"type": "string",
@@ -102,22 +102,6 @@
102102
"name": "file",
103103
"in": "formData",
104104
"required": true
105-
},
106-
{
107-
"type": "integer",
108-
"description": "文件id",
109-
"name": "id",
110-
"in": "query",
111-
"required": true
112-
}
113-
],
114-
"responses": {
115-
"200": {
116-
"description": "OK",
117-
"schema": {
118-
"type": "object",
119-
"$ref": "#/definitions/null"
120-
}
121105
}
122106
],
123107
"responses": {

docs/swagger/swagger.yaml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ definitions:
3232
example: xx.png
3333
type: string
3434
type: object
35-
host: localhost:4000
35+
host: 118.24.155.105:4000
3636
info:
3737
contact: {}
3838
description: '{{.Description}}'
@@ -47,22 +47,6 @@ paths:
4747
description: 获取所有的存储空间列表,无分页。
4848
produces:
4949
- application/json
50-
summary: 获取存储空间列表
51-
tags:
52-
- qiniu
53-
/qiniu/file:
54-
delete:
55-
consumes:
56-
- application/json
57-
description: 删除指定空间的文件
58-
parameters:
59-
- description: 文件id
60-
in: query
61-
name: id
62-
required: true
63-
type: integer
64-
produces:
65-
- application/json
6650
responses:
6751
"200": {}
6852
summary: 获取存储空间列表

0 commit comments

Comments
 (0)