广告平台(媒体使用)
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

hdl_applet_application.go 1.3 KiB

123456789101112131415161718192021222324252627282930313233343536
  1. package hdl
  2. import (
  3. "applet/app/svc"
  4. "github.com/gin-gonic/gin"
  5. )
  6. // AppletApplicationList
  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.AppletApplicationListReq true "请求参数"
  14. // @Success 200 {object} md.AppletApplicationListRes "具体看返回内容---这是data里面的数据"
  15. // @Failure 400 {object} md.Response "具体错误"
  16. // @Router /api/application/applet/list [POST]
  17. func AppletApplicationList(c *gin.Context) {
  18. svc.AppletApplicationList(c)
  19. }
  20. // AppletApplicationSave
  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.AppletApplicationSaveReq true "请求参数"
  28. // @Success 200 {string} "具体看返回内容"
  29. // @Failure 400 {object} md.Response "具体错误"
  30. // @Router /api/application/applet/save [POST]
  31. func AppletApplicationSave(c *gin.Context) {
  32. svc.AppletApplicationSave(c)
  33. }