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

3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
1 week ago
3 weeks ago
3 weeks ago
3 weeks ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. package cloud_bundle
  2. import (
  3. "applet/app/svc/cloud_bundle"
  4. "github.com/gin-gonic/gin"
  5. )
  6. // List
  7. // @Summary 云打包-云打包版本列表
  8. // @Tags 云打包
  9. // @Description 云打包-云打包版本列表
  10. // @Accept json
  11. // @Produce json
  12. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  13. // @Param req body md.CloudBundleReq true "(分页信息必填)"
  14. // @Success 200 {object} md.CloudBundleResp "具体数据"
  15. // @Failure 400 {object} md.Response "具体错误"
  16. // @Router /api/cloudBundle/list [post]
  17. func List(c *gin.Context) {
  18. cloud_bundle.List(c)
  19. }
  20. // Build
  21. // @Summary 云打包-云打包操作
  22. // @Tags 云打包
  23. // @Description 云打包-云打包操作
  24. // @Accept json
  25. // @Produce json
  26. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  27. // @Param req body md.CloudBundleBuildReq true "(分页信息必填)"
  28. // @Success 200 {string} "具体数据"
  29. // @Failure 400 {object} md.Response "具体错误"
  30. // @Router /api/cloudBundle/build [post]
  31. func Build(c *gin.Context) {
  32. cloud_bundle.Build(c)
  33. }
  34. // Del
  35. // @Summary 云打包-云打包删除
  36. // @Tags 云打包
  37. // @Description 云打包-云打包删除
  38. // @Accept json
  39. // @Produce json
  40. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  41. // @Param req body md.CloudBundleDelReq true "(分页信息必填)"
  42. // @Success 200 {string} "具体数据"
  43. // @Failure 400 {object} md.Response "具体错误"
  44. // @Router /api/cloudBundle/del [post]
  45. func Del(c *gin.Context) {
  46. cloud_bundle.Del(c)
  47. }
  48. // AuditSet
  49. // @Summary 云打包-云打包-设置为审核模板
  50. // @Tags 云打包
  51. // @Description 云打包-云打包-设置为审核模板
  52. // @Accept json
  53. // @Produce json
  54. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  55. // @Param req body md.CommReq true "(分页信息必填)"
  56. // @Success 200 {string} "具体数据"
  57. // @Failure 400 {object} md.Response "具体错误"
  58. // @Router /api/cloudBundle/audit/set [post]
  59. func AuditSet(c *gin.Context) {
  60. cloud_bundle.AuditSet(c)
  61. }
  62. // AuditClear
  63. // @Summary 云打包-云打包-清除审核模板
  64. // @Tags 云打包
  65. // @Description 云打包-云打包-清除审核模板
  66. // @Accept json
  67. // @Produce json
  68. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  69. // @Param req body md.AuditClearReq true "(分页信息必填)"
  70. // @Success 200 {string} "具体数据"
  71. // @Failure 400 {object} md.Response "具体错误"
  72. // @Router /api/cloudBundle/audit/clear [post]
  73. func AuditClear(c *gin.Context) {
  74. cloud_bundle.AuditClear(c)
  75. }