Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFriendPb ¶
func ConvertFriendPb(in *types.FriendNewReq) (out *friendrpc.FriendNewReq)
func ConvertFriendTypes ¶
func ConvertFriendTypes(in *friendrpc.FriendDetails) (out *types.FriendBackDTO)
Types ¶
type AddFriendLogic ¶
func NewAddFriendLogic ¶
func NewAddFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddFriendLogic
创建友链
func (*AddFriendLogic) AddFriend ¶
func (l *AddFriendLogic) AddFriend(req *types.FriendNewReq) (resp *types.FriendBackDTO, err error)
type BatchDeleteFriendLogic ¶
func NewBatchDeleteFriendLogic ¶
func NewBatchDeleteFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteFriendLogic
批量删除友链
func (*BatchDeleteFriendLogic) BatchDeleteFriend ¶
type DeleteFriendLogic ¶
func NewDeleteFriendLogic ¶
func NewDeleteFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteFriendLogic
删除友链
func (*DeleteFriendLogic) DeleteFriend ¶
type FindFriendListLogic ¶
func NewFindFriendListLogic ¶
func NewFindFriendListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindFriendListLogic
分页获取友链列表
func (*FindFriendListLogic) FindFriendList ¶
func (l *FindFriendListLogic) FindFriendList(req *types.FriendQuery) (resp *types.PageResp, err error)
type UpdateFriendLogic ¶
func NewUpdateFriendLogic ¶
func NewUpdateFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateFriendLogic
更新友链
func (*UpdateFriendLogic) UpdateFriend ¶
func (l *UpdateFriendLogic) UpdateFriend(req *types.FriendNewReq) (resp *types.FriendBackDTO, err error)
Click to show internal directories.
Click to hide internal directories.