rdluck %!s(int64=4) %!d(string=hai) anos
pai
achega
bc306c846c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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