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 RefundAddLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewRefundAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RefundAddLogic { return &RefundAddLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 订单退款 func (l *RefundAddLogic) RefundAdd(in *pb.RefundAddReq) (*pb.OrderAddUpdateResp, error) { // todo: add your logic here and delete this line return service.RefundAdd(in), nil }