Skip to content

Commit 9f1504e

Browse files
author
pixel
committed
修复swag参数错误
1 parent 0239f7b commit 9f1504e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/api/v1/exa_simple_uploader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func SimpleUploaderUpload(c *gin.Context) {
5252
// @Security ApiKeyAuth
5353

5454
// @Produce application/json
55-
// @Param params md5 get "测试文件是否已经存在和判断已经上传过的切片"
55+
// @Param md5 query string true "测试文件是否已经存在和判断已经上传过的切片"
5656
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
5757
// @Router /simpleUploader/checkFileMd5 [get]
5858
func CheckFileMd5(c *gin.Context) {
@@ -72,7 +72,7 @@ func CheckFileMd5(c *gin.Context) {
7272
// @Summary 合并文件
7373
// @Security ApiKeyAuth
7474
// @Produce application/json
75-
// @Param params md5 get "合并文件"
75+
// @Param md5 query string true "合并文件"
7676
// @Success 200 {string} string "{"success":true,"data":{},"msg":"合并成功"}"
7777
// @Router /simpleUploader/mergeFileMd5 [get]
7878
func MergeFileMd5(c *gin.Context) {

0 commit comments

Comments
 (0)