@@ -145,7 +145,7 @@ func UpdateTag(c *gin.Context) { | |||||
// @Param req body md.DeleteTagReq true "需要删除的标签 ID" | // @Param req body md.DeleteTagReq true "需要删除的标签 ID" | ||||
// @Success 200 {int} "成功删除标签用户数" | // @Success 200 {int} "成功删除标签用户数" | ||||
// @Failure 400 {object} md.Response "具体错误" | // @Failure 400 {object} md.Response "具体错误" | ||||
// @Router /api/memberCenter/tagManagement/deleteTag [post] | |||||
// @Router /api/memberCenter/tagManagement/deleteTag [delete] | |||||
func DeleteTag(c *gin.Context) { | func DeleteTag(c *gin.Context) { | ||||
var req *md.DeleteTagReq | var req *md.DeleteTagReq | ||||
if err := c.ShouldBindJSON(&req); err != nil { | if err := c.ShouldBindJSON(&req); err != nil { | ||||
@@ -2572,7 +2572,7 @@ const docTemplate = `{ | |||||
} | } | ||||
}, | }, | ||||
"/api/memberCenter/tagManagement/deleteTag": { | "/api/memberCenter/tagManagement/deleteTag": { | ||||
"post": { | |||||
"delete": { | |||||
"description": "标签管理(删除)", | "description": "标签管理(删除)", | ||||
"consumes": [ | "consumes": [ | ||||
"application/json" | "application/json" | ||||
@@ -2565,7 +2565,7 @@ | |||||
} | } | ||||
}, | }, | ||||
"/api/memberCenter/tagManagement/deleteTag": { | "/api/memberCenter/tagManagement/deleteTag": { | ||||
"post": { | |||||
"delete": { | |||||
"description": "标签管理(删除)", | "description": "标签管理(删除)", | ||||
"consumes": [ | "consumes": [ | ||||
"application/json" | "application/json" | ||||
@@ -4262,7 +4262,7 @@ paths: | |||||
tags: | tags: | ||||
- 会员中心 | - 会员中心 | ||||
/api/memberCenter/tagManagement/deleteTag: | /api/memberCenter/tagManagement/deleteTag: | ||||
post: | |||||
delete: | |||||
consumes: | consumes: | ||||
- application/json | - application/json | ||||
description: 标签管理(删除) | description: 标签管理(删除) | ||||