rdluck 4 năm trước cách đây
mục cha
commit
bc306c846c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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