package app import ( "github.com/gin-gonic/gin" v1 "lcfns/api/v1" ) type PictureRouter struct { } func (p *PictureRouter) InitInfoRouter(Router *gin.RouterGroup) { var pApi = v1.ApiGroupApp.AppApiGroup.PictureApi picGroup := Router.Group("picture") { picGroup.GET("get", pApi.GetPicture) } }