package logic import ( "context" "SocialPlatform.messageCenter/api/internal/svc" "SocialPlatform.messageCenter/api/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type CountLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } func NewCountLogic(ctx context.Context, svcCtx *svc.ServiceContext) CountLogic { return CountLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *CountLogic) Count(req types.CountReq) (*types.CountRes, error) { // todo: add your logic here and delete this line return &types.CountRes{}, nil }