bulletin.go 463 B

1234567891011121314151617181920
  1. package http
  2. /**import (
  3. "github.com/pkg/errors"
  4. "go-common/app/service/openplatform/ticket-item/model"
  5. bm "go-common/library/net/http/blademaster"
  6. )
  7. // @params ParamID
  8. // @router get /openplatform/internal/ticket/item/getbulletins
  9. // @response BulletinInfo
  10. func getBulletins(c *bm.Context) {
  11. arg := new(model.ParamID)
  12. if err := c.Bind(arg); err != nil {
  13. errors.Wrap(err, "参数验证失败")
  14. return
  15. }
  16. c.JSON(itemSvc.GetBulletins(c, &arg.ID))
  17. }**/