package logic import ( "context" "dcg/app/user_center/internal/svc" "dcg/app/user_center/pb" "github.com/zeromicro/go-zero/core/logx" ) type BuyEliteLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewBuyEliteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BuyEliteLogic { return &BuyEliteLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *BuyEliteLogic) BuyElite(in *pb.EliteReq) (*pb.BuyEliteResp, error) { // todo: add your logic here and delete this line return &pb.BuyEliteResp{}, nil }