蛋蛋星球 后台端
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_img_base.go 1.2 KiB

3 weeks ago
3 weeks ago
3 weeks ago
1234567891011121314151617181920212223242526272829303132333435
  1. package cloud_bundle
  2. import (
  3. "applet/app/svc/cloud_bundle"
  4. "github.com/gin-gonic/gin"
  5. )
  6. // ImgBase
  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.CloudBundleImgResp "具体数据"
  14. // @Failure 400 {object} md.Response "具体错误"
  15. // @Router /api/cloudBundle/img/base [get]
  16. func ImgBase(c *gin.Context) {
  17. cloud_bundle.ImgBase(c)
  18. }
  19. // ImgBaseSave
  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.CloudBundleImgResp true "(分页信息必填)"
  27. // @Success 200 {string} "具体数据"
  28. // @Failure 400 {object} md.Response "具体错误"
  29. // @Router /api/cloudBundle/img/base/save [post]
  30. func ImgBaseSave(c *gin.Context) {
  31. cloud_bundle.ImgBaseSave(c)
  32. }