Documentation
¶
Index ¶
- type Service
- func (s *Service) Apply(c context.Context, mid int64, code string, cookie string) (err error)
- func (s *Service) Buy(c context.Context, mid int64, num int64) (res []*model.RichInvite, err error)
- func (s *Service) CheckOrder(c context.Context, mid int64, orderID string) (err error)
- func (s *Service) Close()
- func (s *Service) Equip(c context.Context, mid, pid int64, status int8, source int64) (err error)
- func (s *Service) Equipment(c context.Context, mid int64) (equipPHP *model.EquipPHP, err error)
- func (s *Service) Group(c context.Context, mid int64) (groupPHP []*model.GroupPHP, err error)
- func (s *Service) GroupEntry(c context.Context, mid int64) (entryPHP []*model.GroupEntryPHP, err error)
- func (s *Service) GroupVIP(c context.Context, mid int64) (vipPHP []*model.GroupVipPHP, err error)
- func (s *Service) My(c context.Context, mid int64) (my []*model.MyPHP, err error)
- func (s *Service) MyHistory(c context.Context, mid, page int64) (res map[string]interface{}, err error)
- func (s *Service) Order(c context.Context, mid, pid, timeLength int64, moneyType int8) (res interface{}, err error)
- func (s *Service) Pendant(c context.Context, pid int64) (pendantPHP *model.PendantPHP, err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) PointFlag(c context.Context, arg *usmdl.ArgMID) (res *usmdl.PointFlag, err error)
- func (s *Service) Stat(c context.Context, mid int64) (res *model.RichInviteStat, err error)
- func (s *Service) VipGet(c context.Context, mid, pid int64, activated int8) (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.
func (*Service) CheckOrder ¶
CheckOrder check order by oid.
func (*Service) GroupEntry ¶
func (s *Service) GroupEntry(c context.Context, mid int64) (entryPHP []*model.GroupEntryPHP, err error)
GroupEntry return vip pendant.
func (*Service) MyHistory ¶
func (s *Service) MyHistory(c context.Context, mid, page int64) (res map[string]interface{}, err error)
MyHistory get my pandent buy history.
func (*Service) Order ¶
func (s *Service) Order(c context.Context, mid, pid, timeLength int64, moneyType int8) (res interface{}, err error)
Order pay pandent by coin/bcoin/point.
Click to show internal directories.
Click to hide internal directories.