page

package
v0.0.0-...-b32e05d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

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

type AddPageLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DeletePageLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeletePageLogic

func NewDeletePageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePageLogic

删除页面

func (*DeletePageLogic) DeletePage

func (l *DeletePageLogic) DeletePage(req *types.IdReq) (resp *types.BatchResp, err error)

type FindPageListLogic

type FindPageListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type UpdatePageLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL