12345678910111213141516171819202122232425262728293031 |
- package logic
- import (
- "context"
- "app.yhyue.com/moapp/MessageCenter/rpc/internal/svc"
- "app.yhyue.com/moapp/MessageCenter/rpc/message"
- "github.com/tal-tech/go-zero/core/logx"
- )
- type GetUnreadCountLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewGetUnreadCountLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUnreadCountLogic {
- return &GetUnreadCountLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 查询指定用户未读消息合计
- func (l *GetUnreadCountLogic) GetUnreadCount(in *message.DeleteMultipleMessageRequest) (*message.GetUnreadCountResponse, error) {
- // todo: add your logic here and delete this line
- return &message.GetUnreadCountResponse{}, nil
- }
|