package app import ( "github.com/gin-gonic/gin" v1 "lc-fangdaosha/api/v1" ) type PictureRouter struct { } // InitInfoRouter 初始化图片路由 func (p *PictureRouter) InitInfoRouter(Router *gin.RouterGroup) { var pApi = v1.ApiGroupApp.AppApiGroup.PictureApi picGroup := Router.Group("picture") { picGroup.GET("get", pApi.GetPicture) //获取图片信息 } }