package logic import ( "context" "app.yhyue.com/moapp/MessageCenter/api/internal/svc" "app.yhyue.com/moapp/MessageCenter/api/internal/types" "github.com/tal-tech/go-zero/core/logx" ) type GetBuoyMsgLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } func NewGetBuoyMsgLogic(ctx context.Context, svcCtx *svc.ServiceContext) GetBuoyMsgLogic { return GetBuoyMsgLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *GetBuoyMsgLogic) GetBuoyMsg(req types.GetBuoyMsgReq) (*types.GetBuoyMsgResp, error) { // todo: add your logic here and delete this line return &types.GetBuoyMsgResp{}, nil }