package logic import ( "context" "points_service/rpc/integral" "points_service/rpc/internal/svc" "github.com/tal-tech/go-zero/core/logx" ) type UpdateBalanceLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewUpdateBalanceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateBalanceLogic { return &UpdateBalanceLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 调整结存 func (l *UpdateBalanceLogic) UpdateBalance(in *integral.AddReq) (*integral.AddResp, error) { // todo: add your logic here and delete this line return &integral.AddResp{}, nil }