Documentation
¶
Index ¶
- Constants
- type ActivateOrderLogic
- func (l *ActivateOrderLogic) NewPurchase(ctx context.Context, orderInfo *order.Order) error
- func (l *ActivateOrderLogic) ProcessTask(ctx context.Context, task *asynq.Task) error
- func (l *ActivateOrderLogic) Recharge(ctx context.Context, orderInfo *order.Order) error
- func (l *ActivateOrderLogic) Renewal(ctx context.Context, orderInfo *order.Order) error
- func (l *ActivateOrderLogic) ResetTraffic(ctx context.Context, orderInfo *order.Order) error
- type DeferCloseOrderLogic
Constants ¶
View Source
const ( Subscribe = 1 Renewal = 2 ResetTraffic = 3 Recharge = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateOrderLogic ¶
type ActivateOrderLogic struct {
// contains filtered or unexported fields
}
func NewActivateOrderLogic ¶
func NewActivateOrderLogic(svc *svc.ServiceContext) *ActivateOrderLogic
func (*ActivateOrderLogic) NewPurchase ¶
NewPurchase New purchase
func (*ActivateOrderLogic) ProcessTask ¶
func (*ActivateOrderLogic) ResetTraffic ¶
ResetTraffic Reset traffic
type DeferCloseOrderLogic ¶
type DeferCloseOrderLogic struct {
// contains filtered or unexported fields
}
func NewDeferCloseOrderLogic ¶
func NewDeferCloseOrderLogic(svc *svc.ServiceContext) *DeferCloseOrderLogic
func (*DeferCloseOrderLogic) ProcessTask ¶
Click to show internal directories.
Click to hide internal directories.