Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrderLogic ¶
func NewCreateOrderLogic ¶
func NewCreateOrderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrderLogic
Create order
func (*CreateOrderLogic) CreateOrder ¶
func (l *CreateOrderLogic) CreateOrder(req *types.CreateOrderRequest) error
type GetOrderListLogic ¶
func NewGetOrderListLogic ¶
func NewGetOrderListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetOrderListLogic
NewGetOrderListLogic Get order list
func (*GetOrderListLogic) GetOrderList ¶
func (l *GetOrderListLogic) GetOrderList(req *types.GetOrderListRequest) (resp *types.GetOrderListResponse, err error)
type UpdateOrderStatusLogic ¶
func NewUpdateOrderStatusLogic ¶
func NewUpdateOrderStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateOrderStatusLogic
Update order status
func (*UpdateOrderStatusLogic) UpdateOrderStatus ¶
func (l *UpdateOrderStatusLogic) UpdateOrderStatus(req *types.UpdateOrderStatusRequest) error
Click to show internal directories.
Click to hide internal directories.