Files
sundynix-plant-be/router/plant/banner.go
T
2026-04-27 11:26:01 +08:00

19 lines
452 B
Go

package plant
import (
"github.com/gin-gonic/gin"
)
type BannerRouter struct{}
func (c *BannerRouter) InitBannerRouter(Router *gin.RouterGroup) {
bannerRouter := Router.Group("plantBanner")
{
bannerRouter.POST("create", bannerApi.Create)
bannerRouter.POST("delete", bannerApi.Delete)
bannerRouter.POST("update", bannerApi.Update)
bannerRouter.POST("list", bannerApi.GetList)
bannerRouter.GET("activeList", bannerApi.GetActiveList)
}
}