Browse Source

update swag

master
shenjiachi 3 hours ago
parent
commit
27a2f759cf
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      app/hdl/comm/hdl_comm.go
  2. +1
    -1
      docs/docs.go
  3. +1
    -1
      docs/swagger.json
  4. +1
    -1
      docs/swagger.yaml

+ 1
- 1
app/hdl/comm/hdl_comm.go View File

@@ -127,7 +127,7 @@ type ImgReqUploadResp struct {
// @param Authorization header string true "验证参数Bearer和token空格拼接"
// @Success 200 {string} "许可链接"
// @Failure 400 {object} md.Response "具体错误"
// @Router /api/comm/getOssUrl [get]
// @Router /api/comm/getOssUrl [POST]
func GetOssUrl(c *gin.Context) {
var args ImgReqUploadReq
err := c.ShouldBindJSON(&args)


+ 1
- 1
docs/docs.go View File

@@ -759,7 +759,7 @@ const docTemplate = `{
}
},
"/api/comm/getOssUrl": {
"get": {
"post": {
"description": "上传许可链接(获取)",
"consumes": [
"application/json"


+ 1
- 1
docs/swagger.json View File

@@ -752,7 +752,7 @@
}
},
"/api/comm/getOssUrl": {
"get": {
"post": {
"description": "上传许可链接(获取)",
"consumes": [
"application/json"


+ 1
- 1
docs/swagger.yaml View File

@@ -4334,7 +4334,7 @@ paths:
tags:
- 文章资讯
/api/comm/getOssUrl:
get:
post:
consumes:
- application/json
description: 上传许可链接(获取)


Loading…
Cancel
Save