rdluck 4 жил өмнө
parent
commit
bc306c846c

+ 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