Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderAddLogic ¶
OrderAddLogic
Author: LiuFeiHua Date: 2023/12/13 9:29
func NewOrderAddLogic ¶
func NewOrderAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderAddLogic
func (*OrderAddLogic) OrderAdd ¶
func (l *OrderAddLogic) OrderAdd(in *omsclient.OrderAddReq) (*omsclient.OrderAddResp, error)
OrderAdd 创建订单 1.插入order表 2.插入order_item表 2.删除cart_item表(删除购物车中的下单商品)
type OrderCancelLogic ¶
OrderCancelLogic
Author: LiuFeiHua Date: 2023/12/7 9:37
func NewOrderCancelLogic ¶
func NewOrderCancelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderCancelLogic
func (*OrderCancelLogic) OrderCancel ¶
func (l *OrderCancelLogic) OrderCancel(in *omsclient.OrderCancelReq) (*omsclient.OrderCancelResp, error)
OrderCancel 取消订单(只有在未付款的时候可以取消订单,其它状态只能申请退货或者售后,所以这里取消订单不涉及退款)
type OrderConfirmLogic ¶
OrderConfirmLogic
Author: LiuFeiHua Date: 2023/12/7 9:37
func NewOrderConfirmLogic ¶
func NewOrderConfirmLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderConfirmLogic
func (*OrderConfirmLogic) OrderConfirm ¶
func (l *OrderConfirmLogic) OrderConfirm(in *omsclient.OrderConfirmReq) (*omsclient.OrderConfirmResp, error)
OrderConfirm 确认收货
type OrderDeleteByIdLogic ¶
func NewOrderDeleteByIdLogic ¶
func NewOrderDeleteByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderDeleteByIdLogic
func (*OrderDeleteByIdLogic) OrderDeleteById ¶
func (l *OrderDeleteByIdLogic) OrderDeleteById(in *omsclient.OrderDeleteByIdReq) (*omsclient.OrderDeleteResp, error)
type OrderDeleteLogic ¶
func NewOrderDeleteLogic ¶
func NewOrderDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderDeleteLogic
func (*OrderDeleteLogic) OrderDelete ¶
func (l *OrderDeleteLogic) OrderDelete(in *omsclient.OrderDeleteReq) (*omsclient.OrderDeleteResp, error)
type OrderListByMemberIdLogic ¶
func NewOrderListByMemberIdLogic ¶
func NewOrderListByMemberIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderListByMemberIdLogic
func (*OrderListByMemberIdLogic) OrderListByMemberId ¶
func (l *OrderListByMemberIdLogic) OrderListByMemberId(in *omsclient.OrderListByMemberIdReq) (*omsclient.OrderListByMemberIdResp, error)
type OrderListLogic ¶
func NewOrderListLogic ¶
func NewOrderListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderListLogic
func (*OrderListLogic) OrderList ¶
func (l *OrderListLogic) OrderList(in *omsclient.OrderListReq) (*omsclient.OrderListResp, error)
type OrderRefundLogic ¶
func NewOrderRefundLogic ¶
func NewOrderRefundLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderRefundLogic
func (*OrderRefundLogic) OrderRefund ¶
func (l *OrderRefundLogic) OrderRefund(in *omsclient.OrderRefundReq) (*omsclient.OrderRefundResp, error)
type OrderUpdateLogic ¶
func NewOrderUpdateLogic ¶
func NewOrderUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderUpdateLogic
func (*OrderUpdateLogic) OrderUpdate ¶
func (l *OrderUpdateLogic) OrderUpdate(in *omsclient.OrderUpdateReq) (*omsclient.OrderUpdateResp, error)
OrderUpdate 更新订单
type QueryOrderListLogic ¶
QueryOrderListLogic
Author: LiuFeiHua Date: 2023/12/7 15:09
func NewQueryOrderListLogic ¶
func NewQueryOrderListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryOrderListLogic
func (*QueryOrderListLogic) QueryOrderList ¶
func (l *QueryOrderListLogic) QueryOrderList(in *omsclient.QueryOrderListReq) (*omsclient.OrderListResp, error)
QueryOrderList app端查询会员的订单列表信息
type UpdateOrderStatusByOutTradeNoLogic ¶
type UpdateOrderStatusByOutTradeNoLogic struct { logx.Logger // contains filtered or unexported fields }
UpdateOrderStatusByOutTradeNoLogic
Author: LiuFeiHua Date: 2023/12/14 17:10
func NewUpdateOrderStatusByOutTradeNoLogic ¶
func NewUpdateOrderStatusByOutTradeNoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateOrderStatusByOutTradeNoLogic
func (*UpdateOrderStatusByOutTradeNoLogic) UpdateOrderStatusByOutTradeNo ¶
func (l *UpdateOrderStatusByOutTradeNoLogic) UpdateOrderStatusByOutTradeNo(in *omsclient.UpdateOrderStatusByOutTradeNoReq) (*omsclient.UpdateOrderStatusByOutTradeNoResp, error)
UpdateOrderStatusByOutTradeNo 更新订单状态
Click to show internal directories.
Click to hide internal directories.