Documentation ¶
Index ¶
- type Service
- func (s *Service) AllowanceCount(c context.Context, arg *model.ArgAllowanceMid) (res int, err error)
- func (s *Service) AllowanceCouponPanel(c context.Context, arg *model.ArgAllowanceCoupon) (res *model.CouponAllowancePanelResp, err error)
- func (s *Service) AllowanceInfo(c context.Context, arg *model.ArgAllowance) (res *model.CouponAllowanceInfo, err error)
- func (s *Service) AllowanceList(c context.Context, arg *model.ArgAllowanceList) (res []*model.CouponAllowancePanelInfo, err error)
- func (s *Service) CancelUseCoupon(c context.Context, arg *model.ArgAllowance) (err error)
- func (s *Service) CouponCartoonPage(c context.Context, arg *model.ArgRPCPage) (res *model.CouponCartoonPageResp, err error)
- func (s *Service) CouponNotify(c context.Context, arg *model.ArgNotify) (err error)
- func (s *Service) CouponPage(c context.Context, arg *model.ArgRPCPage) (res *model.CouponPageRPCResp, err error)
- func (s *Service) JudgeCouponUsable(c context.Context, arg *model.ArgJuageUsable) (res *model.CouponAllowanceInfo, err error)
- func (s *Service) MultiUsableAllowanceCoupon(c context.Context, arg *model.ArgUsablePirces) (res map[float64]*model.CouponAllowancePanelInfo, err error)
- func (s *Service) PrizeCards(c context.Context, arg *model.ArgCount) (res []*model.PrizeCardRep, err error)
- func (s *Service) PrizeDraw(c context.Context, arg *model.ArgPrizeDraw) (res *model.PrizeCardRep, err error)
- func (s *Service) ReceiveAllowance(c context.Context, arg *model.ArgReceiveAllowance) (res string, err error)
- func (s *Service) SalaryCoupon(c context.Context, arg *model.ArgSalaryCoupon) (err error)
- func (s *Service) SalaryCouponForThird(c context.Context, arg *model.ArgSalaryCoupon) (res *model.SalaryCouponForThirdResp, err error)
- func (s *Service) UsableAllowanceCoupon(c context.Context, arg *model.ArgAllowanceCoupon) (res *model.CouponAllowancePanelInfo, err error)
- func (s *Service) UseAllowance(c context.Context, arg *model.ArgUseAllowance) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct info.
func (*Service) AllowanceCount ¶
func (s *Service) AllowanceCount(c context.Context, arg *model.ArgAllowanceMid) (res int, err error)
AllowanceCount allowance count.
func (*Service) AllowanceCouponPanel ¶
func (s *Service) AllowanceCouponPanel(c context.Context, arg *model.ArgAllowanceCoupon) (res *model.CouponAllowancePanelResp, err error)
AllowanceCouponPanel get allowance coupon.
func (*Service) AllowanceInfo ¶
func (s *Service) AllowanceInfo(c context.Context, arg *model.ArgAllowance) (res *model.CouponAllowanceInfo, err error)
AllowanceInfo allowance info.
func (*Service) AllowanceList ¶
func (s *Service) AllowanceList(c context.Context, arg *model.ArgAllowanceList) (res []*model.CouponAllowancePanelInfo, err error)
AllowanceList allowance list.
func (*Service) CancelUseCoupon ¶
CancelUseCoupon cancel use coupon.
func (*Service) CouponCartoonPage ¶
func (s *Service) CouponCartoonPage(c context.Context, arg *model.ArgRPCPage) (res *model.CouponCartoonPageResp, err error)
CouponCartoonPage coupon cartoon page.
func (*Service) CouponNotify ¶
CouponNotify notify coupon.
func (*Service) CouponPage ¶
func (s *Service) CouponPage(c context.Context, arg *model.ArgRPCPage) (res *model.CouponPageRPCResp, err error)
CouponPage coupon page.
func (*Service) JudgeCouponUsable ¶
func (s *Service) JudgeCouponUsable(c context.Context, arg *model.ArgJuageUsable) (res *model.CouponAllowanceInfo, err error)
JudgeCouponUsable judge coupon is usable.
func (*Service) MultiUsableAllowanceCoupon ¶
func (s *Service) MultiUsableAllowanceCoupon(c context.Context, arg *model.ArgUsablePirces) (res map[float64]*model.CouponAllowancePanelInfo, err error)
MultiUsableAllowanceCoupon get usable allowance coupon by muti pirce.
func (*Service) PrizeCards ¶
func (s *Service) PrizeCards(c context.Context, arg *model.ArgCount) (res []*model.PrizeCardRep, err error)
PrizeCards .
func (*Service) PrizeDraw ¶
func (s *Service) PrizeDraw(c context.Context, arg *model.ArgPrizeDraw) (res *model.PrizeCardRep, err error)
PrizeDraw .
func (*Service) ReceiveAllowance ¶
func (s *Service) ReceiveAllowance(c context.Context, arg *model.ArgReceiveAllowance) (res string, err error)
ReceiveAllowance receive allowance
func (*Service) SalaryCoupon ¶
SalaryCoupon salary coupon.
func (*Service) SalaryCouponForThird ¶
func (s *Service) SalaryCouponForThird(c context.Context, arg *model.ArgSalaryCoupon) (res *model.SalaryCouponForThirdResp, err error)
SalaryCouponForThird salary coupon.
func (*Service) UsableAllowanceCoupon ¶
func (s *Service) UsableAllowanceCoupon(c context.Context, arg *model.ArgAllowanceCoupon) (res *model.CouponAllowancePanelInfo, err error)
UsableAllowanceCoupon get usable allowance coupon.
func (*Service) UseAllowance ¶
UseAllowance use allowance.
Click to show internal directories.
Click to hide internal directories.