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