package logic import ( "context" "dcg/app/user_center/internal/svc" "dcg/app/user_center/pb" "github.com/zeromicro/go-zero/core/logx" ) type ChangeCoinLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewChangeCoinLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangeCoinLogic { return &ChangeCoinLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // changeCoin 新增或扣减用户弹币 func (l *ChangeCoinLogic) ChangeCoin(in *pb.ChangeCoinReq) (*pb.Empty, error) { // todo: add your logic here and delete this line return &pb.Empty{}, nil }