package app import ( "github.com/gin-gonic/gin" v1 "lcfns/api/v1" ) type CameraRouter struct { } func (c *CameraRouter) InitInfoRouter(Router *gin.RouterGroup) { var cApi = v1.ApiGroupApp.AppApiGroup.CameraApi gwGroup := Router.Group("camera") { gwGroup.GET("rewind", cApi.RewindText) } }