camera.go 300 B

1234567891011121314151617
  1. package app
  2. import (
  3. "github.com/gin-gonic/gin"
  4. v1 "lcfns/api/v1"
  5. )
  6. type CameraRouter struct {
  7. }
  8. func (c *CameraRouter) InitInfoRouter(Router *gin.RouterGroup) {
  9. var cApi = v1.ApiGroupApp.AppApiGroup.CameraApi
  10. gwGroup := Router.Group("camera")
  11. {
  12. gwGroup.GET("rewind", cApi.RewindText)
  13. }
  14. }