tool

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: AGPL-3.0 Imports: 14 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: 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