123456789101112131415161718 |
- package app
- import (
- "github.com/gin-gonic/gin"
- v1 "lcfns/api/v1"
- )
- type EventRouter struct {
- }
- func (c *EventRouter) InitInfoRouter(Router *gin.RouterGroup) {
- var eApi = v1.ApiGroupApp.AppApiGroup.EventApi
- gwGroup := Router.Group("event")
- {
- gwGroup.GET("list", eApi.List)
- gwGroup.GET("dictionary", eApi.EventType)
- }
- }
|