1234567891011121314151617181920 |
- package http
- /**import (
- "github.com/pkg/errors"
- "go-common/app/service/openplatform/ticket-item/model"
- bm "go-common/library/net/http/blademaster"
- )
- // @params ParamID
- // @router get /openplatform/internal/ticket/item/getbulletins
- // @response BulletinInfo
- func getBulletins(c *bm.Context) {
- arg := new(model.ParamID)
- if err := c.Bind(arg); err != nil {
- errors.Wrap(err, "参数验证失败")
- return
- }
- c.JSON(itemSvc.GetBulletins(c, &arg.ID))
- }**/
|