Documentation
¶
Index ¶
- type Dao
- func (d *Dao) Group(c context.Context, ip string) (groups []*usmdl.PendantGroupInfo, err error)
- func (d *Dao) GroupEntry(c context.Context, ip string) (group *usmdl.PendantGroupInfo, err error)
- func (d *Dao) GroupVip(c context.Context, ip string) (group *usmdl.PendantGroupInfo, err error)
- func (d *Dao) Order(c context.Context, mid, pid, expires int64, moneyType int8, ip string) (payInfo *usmdl.PayInfo, err error)
- func (d *Dao) OrderHistory(c context.Context, mid, page int64, payType int8, orderID, ip string) (hs []*usmdl.PendantOrderInfo, count map[string]int64, err error)
- func (d *Dao) Packages(c context.Context, mid int64, ip string) (pkg []*usmdl.PendantPackage, err error)
- func (d *Dao) Pendant(c context.Context, pid int64, ip string) (pendant *usmdl.Pendant, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao struct.
func (*Dao) GroupEntry ¶
GroupEntry get entry group.
func (*Dao) Order ¶
func (d *Dao) Order(c context.Context, mid, pid, expires int64, moneyType int8, ip string) (payInfo *usmdl.PayInfo, err error)
Order order pendant.
func (*Dao) OrderHistory ¶
func (d *Dao) OrderHistory(c context.Context, mid, page int64, payType int8, orderID, ip string) (hs []*usmdl.PendantOrderInfo, count map[string]int64, err error)
OrderHistory get order history by mid.
Click to show internal directories.
Click to hide internal directories.