advert

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LeftNavigate = &navigate.Item{
	Display: true,
	Name:    `广告管理`,
	Action:  `official/advert`,
	Icon:    `file-text-o`,
	Children: &navigate.List{

		{
			Display: true,
			Name:    `广告管理`,
			Action:  `index`,
		},
		{
			Display: false,
			Name:    `添加广告`,
			Action:  `add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改广告`,
			Action:  `edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除广告`,
			Action:  `delete`,
			Icon:    `remove`,
		},

		{
			Display: true,
			Name:    `广告位管理`,
			Action:  `position_index`,
		},
		{
			Display: false,
			Name:    `添加广告位`,
			Action:  `position_add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改广告位`,
			Action:  `position_edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除广告位`,
			Action:  `position_delete`,
			Icon:    `remove`,
		},
	},
}

Functions

func Add

func Add(ctx echo.Context) error

func Delete

func Delete(ctx echo.Context) error

func Edit

func Edit(ctx echo.Context) error

func Index

func Index(ctx echo.Context) error

func PositionAdd

func PositionAdd(ctx echo.Context) error

func PositionDelete

func PositionDelete(ctx echo.Context) error

func PositionEdit

func PositionEdit(ctx echo.Context) error

func PositionIndex

func PositionIndex(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