Documentation
¶
Index ¶
- type Dao
- func (d *Dao) ExecuteOrders(c context.Context, mid int64, ip string) (orders []*order.Order, err error)
- func (d *Dao) GrowAccountState(c context.Context, mid int64, ty int) (result *order.UpValidate, err error)
- func (d *Dao) LaunchTime(c context.Context, orderID int64, ip string) (beginDate xtime.Time, err error)
- func (d *Dao) Oasis(c context.Context, mid int64, ip string) (oa *order.Oasis, err error)
- func (d *Dao) OrderByAid(c context.Context, aid int64) (orderID int64, orderName string, gameBaseID int64, err error)
- func (d *Dao) Unbind(c context.Context, mid, aid int64, ip string) (err error)
- func (d *Dao) UpValidate(c context.Context, mid int64, ip string) (uv *order.UpValidate, err error)
- func (d *Dao) Ups(c context.Context) (ups map[int64]int64, 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 define
func (*Dao) ExecuteOrders ¶
func (d *Dao) ExecuteOrders(c context.Context, mid int64, ip string) (orders []*order.Order, err error)
ExecuteOrders orders.
func (*Dao) GrowAccountState ¶
func (d *Dao) GrowAccountState(c context.Context, mid int64, ty int) (result *order.UpValidate, err error)
GrowAccountState 获取up主状态 type 类型 0 视频 2 专栏 3 素材.
func (*Dao) LaunchTime ¶
func (d *Dao) LaunchTime(c context.Context, orderID int64, ip string) (beginDate xtime.Time, err error)
LaunchTime publish time from order id.
func (*Dao) OrderByAid ¶
func (d *Dao) OrderByAid(c context.Context, aid int64) (orderID int64, orderName string, gameBaseID int64, err error)
OrderByAid order by aid.
func (*Dao) UpValidate ¶
UpValidate fn
Click to show internal directories.
Click to hide internal directories.