广告平台(站长下代理使用)
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_medium.go 594 B

4 months ago
1234567891011121314151617181920
  1. package hdl
  2. import (
  3. "applet/app/svc"
  4. "github.com/gin-gonic/gin"
  5. )
  6. // MediumList
  7. // @Summary 媒体列表
  8. // @Tags 媒体中心------嘉俊
  9. // @Description 媒体中心-媒体列表
  10. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  11. // @Accept json
  12. // @Produce json
  13. // @Success 200 {object} md.MediumListRes "具体看返回内容 data里面的数据"
  14. // @Failure 400 {object} md.Response "具体错误"
  15. // @Router /api/medium/list [POST]
  16. func MediumList(c *gin.Context) {
  17. svc.MediumList(c)
  18. }