init: radio init commit

This commit is contained in:
Blizzard
2026-02-28 15:56:26 +08:00
parent fc585fa4df
commit d79beb4663
63 changed files with 2540 additions and 6399 deletions
+19
View File
@@ -0,0 +1,19 @@
package radio
import (
"github.com/gin-gonic/gin"
)
type CategoryRouter struct{}
func (r *CategoryRouter) InitCategoryRouter(Router *gin.RouterGroup) {
categoryRouter := Router.Group("/radio/category")
{
categoryRouter.POST("page", categoryApi.GetCategoryPage)
categoryRouter.POST("list", categoryApi.GetCategoryList)
categoryRouter.GET("detail", categoryApi.GetCategoryDetail)
categoryRouter.POST("save", categoryApi.SaveCategory)
categoryRouter.POST("update", categoryApi.UpdateCategory)
categoryRouter.POST("delete", categoryApi.DeleteCategory)
}
}