handler

package
v0.0.0-...-a16dd36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (o *Order) CreateOrder(ctx context.Context, request *OrderInfo, response *OrderID) error

创建订单

func (*Order) DeleteOrderByID

func (o *Order) DeleteOrderByID(ctx context.Context, request *OrderID, response *Response) error

删除订单

func (*Order) GetAllOrder

func (o *Order) GetAllOrder(ctx context.Context, request *AllOrderRequest, response *AllOrder) error

查找所有订单

func (*Order) GetOrderByID

func (o *Order) GetOrderByID(ctx context.Context, request *OrderID, response *OrderInfo) error

根据订单ID查询订单

func (*Order) UpdateOrder

func (o *Order) UpdateOrder(ctx context.Context, request *OrderInfo, response *Response) error

更新订单状态

func (*Order) UpdateOrderPayStatus

func (o *Order) UpdateOrderPayStatus(ctx context.Context, request *PayStatus, response *Response) error

更新订单支付状态

func (*Order) UpdateOrderShipStatus

func (o *Order) UpdateOrderShipStatus(ctx context.Context, request *ShipStatus, response *Response) error

更新发货状态

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL