resource.go 301 B

123456789101112
  1. package routers
  2. import (
  3. "github.com/gin-gonic/gin"
  4. "hongze/fms_api/controller/resource"
  5. )
  6. func InitResource(baseGroup *gin.RouterGroup) {
  7. videoController := new(resource.VideoController)
  8. videoGroup := baseGroup.Group("video/")
  9. videoGroup.GET("oss_sts_token", videoController.GetOssStsToken)
  10. }