ziwen 1 year ago
parent
commit
1ca76d7e2e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      controllers/tag.go
  2. 1 1
      routers/commentsRouter.go

+ 1 - 1
controllers/tag.go

@@ -14,7 +14,7 @@ type TagController struct {
 // @Title 获取标签列表-自定义顺序
 // @Description 获取标签列表-自定义顺序接口
 // @Success 200 {object} cygx.ChartPermissionResp
-// @router /tag/list/custom [get]
+// @router /list/custom [get]
 func (this *TagController) TagCustomizeList() {
 	br := new(models.BaseResponse).Init()
 	defer func() {

+ 1 - 1
routers/commentsRouter.go

@@ -1306,7 +1306,7 @@ func init() {
     beego.GlobalControllerRouter["hongze/hongze_cygx/controllers:TagController"] = append(beego.GlobalControllerRouter["hongze/hongze_cygx/controllers:TagController"],
         beego.ControllerComments{
             Method: "TagCustomizeList",
-            Router: `/tag/list/custom`,
+            Router: `/list/custom`,
             AllowHTTPMethods: []string{"get"},
             MethodParams: param.Make(),
             Filters: nil,