Documentation
¶
Index ¶
- type Order
- func (o *Order) CreateOrder(ctx context.Context, request *OrderInfo, response *OrderID) error
- func (o *Order) DeleteOrderByID(ctx context.Context, request *OrderID, response *Response) error
- func (o *Order) GetAllOrder(ctx context.Context, request *AllOrderRequest, response *AllOrder) error
- func (o *Order) GetOrderByID(ctx context.Context, request *OrderID, response *OrderInfo) error
- func (o *Order) UpdateOrder(ctx context.Context, request *OrderInfo, response *Response) error
- func (o *Order) UpdateOrderPayStatus(ctx context.Context, request *PayStatus, response *Response) error
- func (o *Order) UpdateOrderShipStatus(ctx context.Context, request *ShipStatus, response *Response) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Order ¶
type Order struct {
OrderDataService service.IOrderDataService
}
func (*Order) CreateOrder ¶
创建订单
func (*Order) DeleteOrderByID ¶
删除订单
func (*Order) GetAllOrder ¶
func (o *Order) GetAllOrder(ctx context.Context, request *AllOrderRequest, response *AllOrder) error
查找所有订单
func (*Order) GetOrderByID ¶
根据订单ID查询订单
func (*Order) UpdateOrder ¶
更新订单状态
Click to show internal directories.
Click to hide internal directories.