tool

package
v0.5.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SegmentMode = echo.NewKVData()
View Source
var TopNavigate = navigate.List{
	&navigate.Item{
		Display: true,
		Name:    `地区管理`,
		Action:  `area/index`,
	},
	&navigate.Item{
		Display: false,
		Name:    `添加地区`,
		Action:  `area/add`,
	},
	&navigate.Item{
		Display: false,
		Name:    `修改地区`,
		Action:  `area/edit`,
	},
	&navigate.Item{
		Display: false,
		Name:    `删除地区`,
		Action:  `area/delete`,
	},
	&navigate.Item{
		Display: false,
		Name:    `地区分组管理`,
		Action:  `area/group_index`,
	},
	&navigate.Item{
		Display: false,
		Name:    `添加地区分组`,
		Action:  `area/group_add`,
	},
	&navigate.Item{
		Display: false,
		Name:    `修改地区分组`,
		Action:  `area/group_edit`,
	},
	&navigate.Item{
		Display: false,
		Name:    `删除地区分组`,
		Action:  `area/group_delete`,
	},
	&navigate.Item{
		Display: true,
		Name:    `中文分词`,
		Action:  `segment`,
	},
	&navigate.Item{
		Display: true,
		Name:    `敏感词`,
		Action:  `sensitive/index`,
	},
	&navigate.Item{
		Display: false,
		Name:    `添加敏感词`,
		Action:  `sensitive/add`,
		Icon:    `pencil`,
	},
	&navigate.Item{
		Display: false,
		Name:    `修改敏感词`,
		Action:  `sensitive/edit`,
		Icon:    `pencil`,
	},
	&navigate.Item{
		Display: false,
		Name:    `删除敏感词`,
		Action:  `sensitive/delete`,
		Icon:    `remove`,
	},
}

Functions

func AreaAdd

func AreaAdd(ctx echo.Context) error

func AreaDelete

func AreaDelete(ctx echo.Context) error

func AreaEdit

func AreaEdit(ctx echo.Context) error

func AreaGroupAdd

func AreaGroupAdd(ctx echo.Context) error

func AreaGroupDelete

func AreaGroupDelete(ctx echo.Context) error

func AreaGroupEdit

func AreaGroupEdit(ctx echo.Context) error

func AreaGroupIndex

func AreaGroupIndex(ctx echo.Context) error

func AreaIndex

func AreaIndex(ctx echo.Context) error

func Segment

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