picture.go 303 B

1234567891011121314151617
  1. package app
  2. import (
  3. "github.com/gin-gonic/gin"
  4. v1 "lcfns/api/v1"
  5. )
  6. type PictureRouter struct {
  7. }
  8. func (p *PictureRouter) InitInfoRouter(Router *gin.RouterGroup) {
  9. var pApi = v1.ApiGroupApp.AppApiGroup.PictureApi
  10. picGroup := Router.Group("picture")
  11. {
  12. picGroup.GET("get", pApi.GetPicture)
  13. }
  14. }