Documentation ¶
Index ¶
- type Order
- func (o *Order) CreateOrder(order *model.Order) error
- func (o *Order) GetOrder(id int64) (order *model.Order, err error)
- func (o *Order) GetOrderList(uid int64) (list []*model.Order, err error)
- func (o *Order) SetOrderInRedis(ctx context.Context, id, amount, expTime int64) error
- func (o *Order) UpdateOrder(id int64, status int8) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Order ¶
type Order struct {
// contains filtered or unexported fields
}
func (*Order) GetOrderList ¶
func (*Order) SetOrderInRedis ¶
Click to show internal directories.
Click to hide internal directories.