Documentation ¶
Index ¶
- type ItemService
- func (s *ItemService) AreaInfo(c context.Context, info *item.AreaInfoRequest) (res *item.AreaInfoReply, err error)
- func (s *ItemService) BannerEdit(c context.Context, info *item.BannerEditRequest) (ret *item.BannerEditReply, err error)
- func (s *ItemService) BillInfo(ctx context.Context, in *item.BillRequest) (reply *item.BillReply, err error)
- func (s *ItemService) BulletinCheck(c context.Context, info *item.BulletinCheckRequest) (res *item.BulletinReply, err error)
- func (s *ItemService) BulletinInfo(c context.Context, info *item.BulletinInfoRequest) (res *item.BulletinReply, err error)
- func (s *ItemService) BulletinState(c context.Context, info *item.BulletinStateRequest) (res *item.BulletinReply, err error)
- func (s *ItemService) Cards(ctx context.Context, in *item.CardsRequest) (reply *item.CardsReply, err error)
- func (s *ItemService) Close()
- func (s *ItemService) DeleteArea(c context.Context, info *item.DeleteAreaRequest) (res *item.DeleteAreaReply, err error)
- func (s *ItemService) Fav(ctx context.Context, in *item.FavRequest) (reply *item.FavReply, err error)
- func (s *ItemService) GuestInfo(c context.Context, info *item.GuestInfoRequest) (ret *item.GuestInfoReply, err error)
- func (s *ItemService) GuestSearch(c context.Context, arg *model.GuestSearchParam) (res *model.GuestSearchList, err error)
- func (s *ItemService) GuestStatus(c context.Context, info *item.GuestStatusRequest) (ret *item.GuestInfoReply, err error)
- func (s *ItemService) Info(ctx context.Context, in *item.InfoRequest) (reply *item.InfoReply, err error)
- func (s *ItemService) Ping(c context.Context) (err error)
- func (s *ItemService) PlaceInfo(c context.Context, info *item.PlaceInfoRequest) (res *item.PlaceInfoReply, err error)
- func (s *ItemService) RemoveSeatOrders(c context.Context, info *item.RemoveSeatOrdersRequest) (res *item.RemoveSeatOrdersReply, err error)
- func (s *ItemService) SeatInfo(c context.Context, info *item.SeatInfoRequest) (res *item.SeatInfoReply, err error)
- func (s *ItemService) SeatStock(c context.Context, info *item.SeatStockRequest) (res *item.SeatStockReply, err error)
- func (s *ItemService) VenueInfo(c context.Context, info *item.VenueInfoRequest) (res *item.VenueInfoReply, err error)
- func (s *ItemService) VenueSearch(c context.Context, in *model.VenueSearchParam) (venues *model.VenueSearchList, err error)
- func (s *ItemService) Version(c context.Context, info *item.VersionRequest) (ret *item.VersionReply, err error)
- func (s *ItemService) VersionReview(c context.Context, info *item.VersionReviewRequest) (ret *item.VersionReviewReply, err error)
- func (s *ItemService) VersionSearch(c context.Context, in *model.VersionSearchParam) (versions *model.VersionSearchList, err error)
- func (s *ItemService) VersionStatus(c context.Context, info *item.VersionStatusRequest) (ret *item.VersionStatusReply, err error)
- func (s *ItemService) Wish(ctx context.Context, in *item.WishRequest) (reply *item.WishReply, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemService ¶
type ItemService struct {
// contains filtered or unexported fields
}
ItemService Service http service
func (*ItemService) AreaInfo ¶
func (s *ItemService) AreaInfo(c context.Context, info *item.AreaInfoRequest) (res *item.AreaInfoReply, err error)
AreaInfo 添加/修改区域信息
func (*ItemService) BannerEdit ¶
func (s *ItemService) BannerEdit(c context.Context, info *item.BannerEditRequest) (ret *item.BannerEditReply, err error)
BannerEdit Add or Update A Banner
func (*ItemService) BillInfo ¶
func (s *ItemService) BillInfo(ctx context.Context, in *item.BillRequest) (reply *item.BillReply, err error)
BillInfo get item cardlist
func (*ItemService) BulletinCheck ¶
func (s *ItemService) BulletinCheck(c context.Context, info *item.BulletinCheckRequest) (res *item.BulletinReply, err error)
BulletinCheck 审核公告
func (*ItemService) BulletinInfo ¶
func (s *ItemService) BulletinInfo(c context.Context, info *item.BulletinInfoRequest) (res *item.BulletinReply, err error)
BulletinInfo 添加新公告版本
func (*ItemService) BulletinState ¶
func (s *ItemService) BulletinState(c context.Context, info *item.BulletinStateRequest) (res *item.BulletinReply, err error)
BulletinState 添加新公告版本
func (*ItemService) Cards ¶
func (s *ItemService) Cards(ctx context.Context, in *item.CardsRequest) (reply *item.CardsReply, err error)
Cards get item cardlist
func (*ItemService) DeleteArea ¶
func (s *ItemService) DeleteArea(c context.Context, info *item.DeleteAreaRequest) (res *item.DeleteAreaReply, err error)
DeleteArea 软删除区域信息
func (*ItemService) Fav ¶
func (s *ItemService) Fav(ctx context.Context, in *item.FavRequest) (reply *item.FavReply, err error)
Fav 收藏
func (*ItemService) GuestInfo ¶
func (s *ItemService) GuestInfo(c context.Context, info *item.GuestInfoRequest) (ret *item.GuestInfoReply, err error)
GuestInfo Add or Update Guest
func (*ItemService) GuestSearch ¶
func (s *ItemService) GuestSearch(c context.Context, arg *model.GuestSearchParam) (res *model.GuestSearchList, err error)
GuestSearch 场馆搜索
func (*ItemService) GuestStatus ¶
func (s *ItemService) GuestStatus(c context.Context, info *item.GuestStatusRequest) (ret *item.GuestInfoReply, err error)
GuestStatus Change Guest Status
func (*ItemService) Info ¶
func (s *ItemService) Info(ctx context.Context, in *item.InfoRequest) (reply *item.InfoReply, err error)
Info get item info
func (*ItemService) Ping ¶
func (s *ItemService) Ping(c context.Context) (err error)
Ping check server ok
func (*ItemService) PlaceInfo ¶
func (s *ItemService) PlaceInfo(c context.Context, info *item.PlaceInfoRequest) (res *item.PlaceInfoReply, err error)
PlaceInfo 添加/修改场地信息
func (*ItemService) RemoveSeatOrders ¶
func (s *ItemService) RemoveSeatOrders(c context.Context, info *item.RemoveSeatOrdersRequest) (res *item.RemoveSeatOrdersReply, err error)
RemoveSeatOrders 删除坐票票价下所有座位(包括seat_order和seat_set中的记录)
func (*ItemService) SeatInfo ¶
func (s *ItemService) SeatInfo(c context.Context, info *item.SeatInfoRequest) (res *item.SeatInfoReply, err error)
SeatInfo 添加/修改座位信息
func (*ItemService) SeatStock ¶
func (s *ItemService) SeatStock(c context.Context, info *item.SeatStockRequest) (res *item.SeatStockReply, err error)
SeatStock 设置座位库存 确保座位均未售出,从seat_set表获取座位图(不存在则取area_setmap), 遍历请求的SeatInfo数组,补足未定义的票价(从票种复制),生成seat_order表,插入或更新seat_set座位图
func (*ItemService) VenueInfo ¶
func (s *ItemService) VenueInfo(c context.Context, info *item.VenueInfoRequest) (res *item.VenueInfoReply, err error)
VenueInfo 添加/修改场馆信息
func (*ItemService) VenueSearch ¶
func (s *ItemService) VenueSearch(c context.Context, in *model.VenueSearchParam) (venues *model.VenueSearchList, err error)
VenueSearch 场馆搜索
func (*ItemService) Version ¶
func (s *ItemService) Version(c context.Context, info *item.VersionRequest) (ret *item.VersionReply, err error)
Version Add or Update Project with Version
func (*ItemService) VersionReview ¶
func (s *ItemService) VersionReview(c context.Context, info *item.VersionReviewRequest) (ret *item.VersionReviewReply, err error)
VersionReview Pass or Reject A Version
func (*ItemService) VersionSearch ¶
func (s *ItemService) VersionSearch(c context.Context, in *model.VersionSearchParam) (versions *model.VersionSearchList, err error)
VersionSearch 项目版本查询
func (*ItemService) VersionStatus ¶
func (s *ItemService) VersionStatus(c context.Context, info *item.VersionStatusRequest) (ret *item.VersionStatusReply, err error)
VersionStatus Change A Version's Status
func (*ItemService) Wish ¶
func (s *ItemService) Wish(ctx context.Context, in *item.WishRequest) (reply *item.WishReply, err error)
Wish 想去