package logic import ( "context" "bp.jydev.jianyu360.cn/BaseService/orderCenter/rpc/internal/svc" "bp.jydev.jianyu360.cn/BaseService/orderCenter/rpc/pb" "bp.jydev.jianyu360.cn/BaseService/orderCenter/service" "github.com/zeromicro/go-zero/core/logx" ) type OrderDelLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewOrderDelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderDelLogic { return &OrderDelLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 订单删除 func (l *OrderDelLogic) OrderDel(in *pb.OrderDelReq) (*pb.OrderAddUpdateResp, error) { // todo: add your logic here and delete this line return service.OrderDel(in), nil }