package logic import ( service "app.yhyue.com/moapp/MessageCenter/rpc/internal/common" "app.yhyue.com/moapp/MessageCenter/rpc/type/message" "context" "app.yhyue.com/moapp/MessageCenter/rpc/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type FindUserBuoyMsgLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewFindUserBuoyMsgLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindUserBuoyMsgLogic { return &FindUserBuoyMsgLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 查询指定用户的浮标消息 func (l *FindUserBuoyMsgLogic) FindUserBuoyMsg(in *message.FindUserBuoyMsgReq) (*message.FindUserBuoyMsgRes, error) { // todo: add your logic here and delete this line data := service.FindUserBuoyMsg(in) return data, nil }