Documentation ¶
Index ¶
- type Service
- func (s *Service) AssociateVips(c context.Context, arg *model.ArgAssociateVip) (res []*model.AssociateVipResp, err error)
- func (s *Service) BcoinList(c context.Context, arg *model.ArgRPCMid) (res *model.BcoinSalaryResp, err error)
- func (s *Service) CancelUseCoupon(c context.Context, arg *model.ArgCouponCancel) (err error)
- func (s *Service) CouponBySuitID(c context.Context, arg *model.ArgCouponPanel) (res *col.CouponAllowancePanelInfo, err error)
- func (s *Service) CouponBySuitIDV2(c context.Context, arg *model.ArgCouponPanelV2) (res *col.CouponAllowancePanelInfo, err error)
- func (s *Service) CouponsForPanel(c context.Context, arg *model.ArgCouponPanel) (res *col.CouponAllowancePanelResp, err error)
- func (s *Service) CouponsForPanelV2(c context.Context, arg *model.ArgCouponPanelV2) (res *col.CouponAllowancePanelResp, err error)
- func (s *Service) CreateOrder(c context.Context, arg *model.ArgRPCCreateOrder) (res map[string]interface{}, err error)
- func (s *Service) History(c context.Context, arg *model.ArgRPCHistory) (res []*model.VipChangeHistoryVo, err error)
- func (s *Service) Jointly(c context.Context) (res []*model.JointlyResp, err error)
- func (s *Service) OrderInfo(c context.Context, arg *model.ArgRPCOrderNo) (res *model.OrderInfo, err error)
- func (s *Service) OrderPayResult(c context.Context, arg *model.ArgDialog) (res *model.OrderResult, err error)
- func (s *Service) PanelExplain(c context.Context, arg *model.ArgPanelExplain) (res *model.VipPanelExplain, err error)
- func (s *Service) Ping(c context.Context) (res *int, err error)
- func (s *Service) PrivilegeBySid(c context.Context, arg *model.ArgPrivilegeBySid) (res *model.PrivilegesResp, err error)
- func (s *Service) PrivilegeByType(c context.Context, arg *model.ArgPrivilegeDetail) (res []*model.PrivilegeDetailResp, err error)
- func (s *Service) ResourceBatchOpenVip(c context.Context, arg *model.ArgUseBatch) (err error)
- func (s *Service) SurplusFrozenTime(c context.Context, mid int64) (stime int64, err error)
- func (s *Service) Tips(c context.Context, arg *model.ArgTips) (res []*model.TipsResp, err error)
- func (s *Service) Unfrozen(c context.Context, mid int64) (err error)
- func (s *Service) VipInfo(c context.Context, arg *model.ArgRPCMid) (res *model.VipInfoResp, err error)
- func (s *Service) VipInfos(c context.Context, arg *model.ArgRPCMids) (res map[int64]*model.VipInfoResp, err error)
- func (s *Service) VipPanelInfo(c context.Context, arg *model.ArgPanel) (res []*model.VipPanelInfo, err error)
- func (s *Service) VipPanelInfo2(c context.Context, arg *model.ArgPanel) (res *model.VipPirceResp, err error)
- func (s *Service) VipPanelInfo5(c context.Context, arg *model.ArgPanel) (res *model.VipPirceResp5, 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 is a question service.
func (*Service) AssociateVips ¶
func (s *Service) AssociateVips(c context.Context, arg *model.ArgAssociateVip) (res []*model.AssociateVipResp, err error)
AssociateVips associate vips.
func (*Service) BcoinList ¶
func (s *Service) BcoinList(c context.Context, arg *model.ArgRPCMid) (res *model.BcoinSalaryResp, err error)
BcoinList bcoin list.
func (*Service) CancelUseCoupon ¶
CancelUseCoupon cancel use coupon.
func (*Service) CouponBySuitID ¶
func (s *Service) CouponBySuitID(c context.Context, arg *model.ArgCouponPanel) (res *col.CouponAllowancePanelInfo, err error)
CouponBySuitID by suit info.
func (*Service) CouponBySuitIDV2 ¶
func (s *Service) CouponBySuitIDV2(c context.Context, arg *model.ArgCouponPanelV2) (res *col.CouponAllowancePanelInfo, err error)
CouponBySuitIDV2 by suit info.
func (*Service) CouponsForPanel ¶
func (s *Service) CouponsForPanel(c context.Context, arg *model.ArgCouponPanel) (res *col.CouponAllowancePanelResp, err error)
CouponsForPanel by suit info.
func (*Service) CouponsForPanelV2 ¶
func (s *Service) CouponsForPanelV2(c context.Context, arg *model.ArgCouponPanelV2) (res *col.CouponAllowancePanelResp, err error)
CouponsForPanelV2 by suit info.
func (*Service) CreateOrder ¶
func (s *Service) CreateOrder(c context.Context, arg *model.ArgRPCCreateOrder) (res map[string]interface{}, err error)
CreateOrder create order.
func (*Service) History ¶
func (s *Service) History(c context.Context, arg *model.ArgRPCHistory) (res []*model.VipChangeHistoryVo, err error)
History user change history.
func (*Service) OrderInfo ¶
func (s *Service) OrderInfo(c context.Context, arg *model.ArgRPCOrderNo) (res *model.OrderInfo, err error)
OrderInfo order info.
func (*Service) OrderPayResult ¶
func (s *Service) OrderPayResult(c context.Context, arg *model.ArgDialog) (res *model.OrderResult, err error)
OrderPayResult .
func (*Service) PanelExplain ¶
func (s *Service) PanelExplain(c context.Context, arg *model.ArgPanelExplain) (res *model.VipPanelExplain, err error)
PanelExplain panel explain.
func (*Service) PrivilegeBySid ¶
func (s *Service) PrivilegeBySid(c context.Context, arg *model.ArgPrivilegeBySid) (res *model.PrivilegesResp, err error)
PrivilegeBySid privileges by sid.
func (*Service) PrivilegeByType ¶
func (s *Service) PrivilegeByType(c context.Context, arg *model.ArgPrivilegeDetail) (res []*model.PrivilegeDetailResp, err error)
PrivilegeByType privileges by type.
func (*Service) ResourceBatchOpenVip ¶
ResourceBatchOpenVip resource batch open.
func (*Service) SurplusFrozenTime ¶
SurplusFrozenTime surplus frozen.
func (*Service) VipInfo ¶
func (s *Service) VipInfo(c context.Context, arg *model.ArgRPCMid) (res *model.VipInfoResp, err error)
VipInfo def.
func (*Service) VipInfos ¶
func (s *Service) VipInfos(c context.Context, arg *model.ArgRPCMids) (res map[int64]*model.VipInfoResp, err error)
VipInfos vipinfo list.
func (*Service) VipPanelInfo ¶
func (s *Service) VipPanelInfo(c context.Context, arg *model.ArgPanel) (res []*model.VipPanelInfo, err error)
VipPanelInfo rpc user vip panel info.
func (*Service) VipPanelInfo2 ¶
func (s *Service) VipPanelInfo2(c context.Context, arg *model.ArgPanel) (res *model.VipPirceResp, err error)
VipPanelInfo2 vip panel v2.
func (*Service) VipPanelInfo5 ¶
func (s *Service) VipPanelInfo5(c context.Context, arg *model.ArgPanel) (res *model.VipPirceResp5, err error)
VipPanelInfo5 vip panel v5.