rdluck 4 년 전
부모
커밋
bc306c846c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      controllers/classify.go

+ 1 - 1
controllers/classify.go

@@ -11,7 +11,7 @@ type ClassifyController struct {
 // @Param   ClassifyId   query   int  true       "分类id"
 // @Success 200 {object} models.Banner
 // @router /detail [get]
-func (this *HomeController) Detail() {
+func (this *ClassifyController) Detail() {
 	br := new(models.BaseResponse).Init()
 	defer func() {
 		this.Data["json"] = br