|
@@ -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
|