manager

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TopNavigate = navigate.List{
	&navigate.Item{
		Display: true,
		Name:    `消息管理`,
		Action:  `message/index`,
	},
	&navigate.Item{
		Display: false,
		Name:    `删除消息`,
		Action:  `message/delete`,
	},
	&navigate.Item{
		Display: false,
		Name:    `查看消息`,
		Action:  `message/view/:id`,
	},
	&navigate.Item{
		Display: true,
		Name:    `前台菜单`,
		Action:  `navigate/index`,
	},
	&navigate.Item{
		Display: false,
		Name:    `添加前台菜单`,
		Action:  `navigate/add`,
	},
	&navigate.Item{
		Display: false,
		Name:    `修改前台菜单`,
		Action:  `navigate/edit`,
	},
	&navigate.Item{
		Display: false,
		Name:    `删除前台菜单`,
		Action:  `navigate/delete`,
	},
	&navigate.Item{
		Display: true,
		Name:    `重启前台`,
		Action:  `frontend/reboot`,
		Target:  `ajax`,
	},
	&navigate.Item{
		Display: true,
		Name:    `自定义页面`,
		Action:  `frontend/route_page`,
	},
	&navigate.Item{
		Display: false,
		Name:    `添加自定义页面`,
		Action:  `frontend/route_page_add`,
	},
	&navigate.Item{
		Display: false,
		Name:    `修改自定义页面`,
		Action:  `frontend/route_page_edit`,
	},
	&navigate.Item{
		Display: false,
		Name:    `删除自定义页面`,
		Action:  `frontend/route_page_delete`,
	},
	&navigate.Item{
		Display: true,
		Name:    `自定义网址`,
		Action:  `frontend/route_rewrite`,
	},
	&navigate.Item{
		Display: false,
		Name:    `添加自定义网址`,
		Action:  `frontend/route_rewrite_add`,
	},
	&navigate.Item{
		Display: false,
		Name:    `修改自定义网址`,
		Action:  `frontend/route_rewrite_edit`,
	},
	&navigate.Item{
		Display: false,
		Name:    `删除自定义网址`,
		Action:  `frontend/route_rewrite_delete`,
	},
}

Functions

func FrontendReboot

func FrontendReboot(ctx echo.Context) error

func FrontendRouteList added in v0.2.0

func FrontendRouteList(ctx echo.Context) error

func FrontendRoutePage

func FrontendRoutePage(ctx echo.Context) error

func FrontendRoutePageAdd

func FrontendRoutePageAdd(ctx echo.Context) error

func FrontendRoutePageDelete

func FrontendRoutePageDelete(ctx echo.Context) error

func FrontendRoutePageEdit

func FrontendRoutePageEdit(ctx echo.Context) error

func FrontendRouteRewrite added in v0.2.0

func FrontendRouteRewrite(ctx echo.Context) error

func FrontendRouteRewriteAdd added in v0.2.0

func FrontendRouteRewriteAdd(ctx echo.Context) error

func FrontendRouteRewriteDelete added in v0.2.0

func FrontendRouteRewriteDelete(ctx echo.Context) error

func FrontendRouteRewriteEdit added in v0.2.0

func FrontendRouteRewriteEdit(ctx echo.Context) error

func MessageDelete

func MessageDelete(ctx echo.Context) error

MessageDelete 删除消息

func MessageIndex

func MessageIndex(c echo.Context) error

MessageIndex 所有消息列表

func MessageView

func MessageView(c echo.Context) error
func NavigateAdd(ctx echo.Context) error
func NavigateDelete(ctx echo.Context) error
func NavigateEdit(ctx echo.Context) error
func NavigateIndex(ctx echo.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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