蛋蛋星球 后台端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

hdl_video.go 1.3 KiB

1234567891011121314151617181920212223242526272829303132333435
  1. package content_reward
  2. import (
  3. "applet/app/svc/content_reward"
  4. "github.com/gin-gonic/gin"
  5. )
  6. // VideoBase
  7. // @Summary 制度中心-内容奖励-短视频基本信息
  8. // @Tags 蛋蛋能量
  9. // @Description 制度中心-内容奖励-短视频基本信息
  10. // @Accept json
  11. // @Produce json
  12. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  13. // @Success 200 {object} md.VideoBaseData "具体数据"
  14. // @Failure 400 {object} md.Response "具体错误"
  15. // @Router /api/institutionalManagement/contentReward/video/base [get]
  16. func VideoBase(c *gin.Context) {
  17. content_reward.VideoBase(c)
  18. }
  19. // VideoBaseSave
  20. // @Summary 制度中心-内容奖励-短视频基本配置保存
  21. // @Tags 蛋蛋能量
  22. // @Description 制度中心-内容奖励-短视频基本配置保存
  23. // @Accept json
  24. // @Produce json
  25. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  26. // @Param req body md.VideoBaseData true "(分页信息必填)"
  27. // @Success 200 {string} "具体数据"
  28. // @Failure 400 {object} md.Response "具体错误"
  29. // @Router /api/institutionalManagement/contentReward/video/save [post]
  30. func VideoBaseSave(c *gin.Context) {
  31. content_reward.VideoBaseSave(c)
  32. }