client

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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 New

func New(c *rpc.ClientConfig) (s *Service)

New new rpc 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

func (s *Service) CancelUseCoupon(c context.Context, arg *model.ArgCouponCancel) (err error)

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) Jointly

func (s *Service) Jointly(c context.Context) (res []*model.JointlyResp, err error)

Jointly jointly info.

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) Ping

func (s *Service) Ping(c context.Context) (res *int, err error)

Ping def.

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

func (s *Service) ResourceBatchOpenVip(c context.Context, arg *model.ArgUseBatch) (err error)

ResourceBatchOpenVip resource batch open.

func (*Service) SurplusFrozenTime

func (s *Service) SurplusFrozenTime(c context.Context, mid int64) (stime int64, err error)

SurplusFrozenTime surplus frozen.

func (*Service) Tips

func (s *Service) Tips(c context.Context, arg *model.ArgTips) (res []*model.TipsResp, err error)

Tips info.

func (*Service) Unfrozen

func (s *Service) Unfrozen(c context.Context, mid int64) (err error)

Unfrozen unfrozen

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL