agent

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LeftNavigate = &navigate.Item{
	Display: true,
	Name:    `代理商`,
	Action:  `official/agent`,
	Icon:    `trophy`,
	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:  `product_index`,
		},
		{
			Display: false,
			Name:    `添加代理产品`,
			Action:  `product_add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改代理产品`,
			Action:  `product_edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除代理产品`,
			Action:  `product_delete`,
			Icon:    `remove`,
		},

		{
			Display: true,
			Name:    `代理等级`,
			Action:  `level_index`,
		},
		{
			Display: false,
			Name:    `添加代理等级`,
			Action:  `level_add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改代理等级`,
			Action:  `level_edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除代理等级`,
			Action:  `level_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 LevelAdd

func LevelAdd(ctx echo.Context) error

func LevelDelete

func LevelDelete(ctx echo.Context) error

func LevelEdit

func LevelEdit(ctx echo.Context) error

func LevelIndex

func LevelIndex(ctx echo.Context) error

func ProductAdd

func ProductAdd(ctx echo.Context) error

func ProductDelete

func ProductDelete(ctx echo.Context) error

func ProductEdit

func ProductEdit(ctx echo.Context) error

func ProductIndex

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