广告平台(站长使用)
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_applet_application.go 2.1 KiB

4 months ago
4 months ago
4 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package hdl
  2. import (
  3. "applet/app/svc"
  4. "github.com/gin-gonic/gin"
  5. )
  6. // AppletApplicationMediumList
  7. // @Summary 媒体列表
  8. // @Tags 媒体中心------嘉俊
  9. // @Description 媒体中心-媒体列表
  10. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  11. // @Accept json
  12. // @Produce json
  13. // @Param args body md.AppletApplicationMediumListReq true "请求参数"
  14. // @Success 200 {object} md.AppletApplicationMediumListRes "具体看返回内容---这是data里面的数据"
  15. // @Failure 400 {object} md.Response "具体错误"
  16. // @Router /api/mediumCenter/applet/application/medium/list [POST]
  17. func AppletApplicationMediumList(c *gin.Context) {
  18. svc.AppletApplicationMediumList(c)
  19. }
  20. // AppletApplicationList
  21. // @Summary 应用列表
  22. // @Tags 媒体中心------嘉俊
  23. // @Description 小程序应用-列表数据
  24. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  25. // @Accept json
  26. // @Produce json
  27. // @Param args body md.AppletApplicationListReq true "请求参数"
  28. // @Success 200 {object} md.AppletApplicationListRes "具体看返回内容---这是data里面的数据"
  29. // @Failure 400 {object} md.Response "具体错误"
  30. // @Router /api/mediumCenter/applet/application/list [POST]
  31. func AppletApplicationList(c *gin.Context) {
  32. svc.AppletApplicationList(c)
  33. }
  34. // AppletApplicationAudit
  35. // @Summary 审核
  36. // @Tags 媒体中心------嘉俊
  37. // @Description 小程序应用-审核
  38. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  39. // @Accept json
  40. // @Produce json
  41. // @Param args body md.AppletApplicationSaveReq true "请求参数"
  42. // @Success 200 {string} "具体看返回内容"
  43. // @Failure 400 {object} md.Response "具体错误"
  44. // @Router /api/mediumCenter/applet/application/audit [POST]
  45. func AppletApplicationAudit(c *gin.Context) {
  46. svc.AppletApplicationAudit(c)
  47. }