Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertPagePb ¶
func ConvertPagePb(in *types.PageNewReq) (out *websiterpc.PageNewReq)
func ConvertPageTypes ¶
func ConvertPageTypes(in *websiterpc.PageDetails) (out *types.PageBackDTO)
Types ¶
type AddPageLogic ¶
func NewAddPageLogic ¶
func NewAddPageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddPageLogic
创建页面
func (*AddPageLogic) AddPage ¶
func (l *AddPageLogic) AddPage(req *types.PageNewReq) (resp *types.PageBackDTO, err error)
type DeletePageLogic ¶
func NewDeletePageLogic ¶
func NewDeletePageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePageLogic
删除页面
func (*DeletePageLogic) DeletePage ¶
type FindPageListLogic ¶
func NewFindPageListLogic ¶
func NewFindPageListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindPageListLogic
分页获取页面列表
func (*FindPageListLogic) FindPageList ¶
func (l *FindPageListLogic) FindPageList(req *types.PageQueryReq) (resp *types.PageResp, err error)
type UpdatePageLogic ¶
func NewUpdatePageLogic ¶
func NewUpdatePageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePageLogic
更新页面
func (*UpdatePageLogic) UpdatePage ¶
func (l *UpdatePageLogic) UpdatePage(req *types.PageNewReq) (resp *types.PageBackDTO, err error)
Click to show internal directories.
Click to hide internal directories.