Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFriendLogic ¶
func NewAddFriendLogic ¶
func NewAddFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddFriendLogic
func (*AddFriendLogic) AddFriend ¶
func (l *AddFriendLogic) AddFriend(in *websiterpc.FriendNewReq) (*websiterpc.FriendDetails, error)
创建友链
type AddPageLogic ¶
func NewAddPageLogic ¶
func NewAddPageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddPageLogic
func (*AddPageLogic) AddPage ¶
func (l *AddPageLogic) AddPage(in *websiterpc.PageNewReq) (*websiterpc.PageDetails, error)
创建页面
type AddVisitLogic ¶
func NewAddVisitLogic ¶
func NewAddVisitLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddVisitLogic
func (*AddVisitLogic) AddVisit ¶
func (l *AddVisitLogic) AddVisit(in *websiterpc.AddVisitReq) (*websiterpc.AddVisitResp, error)
添加用户访问记录
type DeleteFriendLogic ¶
func NewDeleteFriendLogic ¶
func NewDeleteFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteFriendLogic
func (*DeleteFriendLogic) DeleteFriend ¶
func (l *DeleteFriendLogic) DeleteFriend(in *websiterpc.IdsReq) (*websiterpc.BatchResp, error)
删除友链
type DeletePageLogic ¶
func NewDeletePageLogic ¶
func NewDeletePageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePageLogic
func (*DeletePageLogic) DeletePage ¶
func (l *DeletePageLogic) DeletePage(in *websiterpc.IdsReq) (*websiterpc.BatchResp, error)
删除页面
type FindFriendListLogic ¶
func NewFindFriendListLogic ¶
func NewFindFriendListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindFriendListLogic
func (*FindFriendListLogic) FindFriendList ¶
func (l *FindFriendListLogic) FindFriendList(in *websiterpc.FindFriendListReq) (*websiterpc.FindFriendListResp, error)
查询友链列表
type FindPageListLogic ¶
func NewFindPageListLogic ¶
func NewFindPageListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindPageListLogic
func (*FindPageListLogic) FindPageList ¶
func (l *FindPageListLogic) FindPageList(in *websiterpc.FindPageListReq) (*websiterpc.FindPageListResp, error)
查询页面列表
type GetTouristInfoLogic ¶
func NewGetTouristInfoLogic ¶
func NewGetTouristInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTouristInfoLogic
func (*GetTouristInfoLogic) GetTouristInfo ¶
func (l *GetTouristInfoLogic) GetTouristInfo(in *websiterpc.EmptyReq) (*websiterpc.GetTouristInfoResp, error)
获取游客身份
type GetUserDailyVisitLogic ¶
func NewGetUserDailyVisitLogic ¶
func NewGetUserDailyVisitLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserDailyVisitLogic
func (*GetUserDailyVisitLogic) GetUserDailyVisit ¶
func (l *GetUserDailyVisitLogic) GetUserDailyVisit(in *websiterpc.EmptyReq) (*websiterpc.UserDailyVisitRsp, error)
用户日浏览量
type GetUserTotalVisitLogic ¶
func NewGetUserTotalVisitLogic ¶
func NewGetUserTotalVisitLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserTotalVisitLogic
func (*GetUserTotalVisitLogic) GetUserTotalVisit ¶
func (l *GetUserTotalVisitLogic) GetUserTotalVisit(in *websiterpc.EmptyReq) (*websiterpc.CountResp, error)
用户总流量数
type UpdateFriendLogic ¶
func NewUpdateFriendLogic ¶
func NewUpdateFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateFriendLogic
func (*UpdateFriendLogic) UpdateFriend ¶
func (l *UpdateFriendLogic) UpdateFriend(in *websiterpc.FriendNewReq) (*websiterpc.FriendDetails, error)
更新友链
type UpdatePageLogic ¶
func NewUpdatePageLogic ¶
func NewUpdatePageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePageLogic
func (*UpdatePageLogic) UpdatePage ¶
func (l *UpdatePageLogic) UpdatePage(in *websiterpc.PageNewReq) (*websiterpc.PageDetails, error)
更新页面
Source Files
¶
Click to show internal directories.
Click to hide internal directories.