version.go 415 B

1234567891011121314151617
  1. package http
  2. import (
  3. "go-common/app/service/openplatform/ticket-item/model"
  4. bm "go-common/library/net/http/blademaster"
  5. )
  6. // @params VersionSearchParam
  7. // @router get /openplatform/internal/ticket/item/version/search
  8. // @response VersionSearchList
  9. func versionSearch(c *bm.Context) {
  10. req := &model.VersionSearchParam{}
  11. if err := c.Bind(req); err != nil {
  12. return
  13. }
  14. c.JSON(itemSvc.VersionSearch(c, req))
  15. }