article

package
v0.4.19 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LeftNavigate = &navigate.Item{
	Display: true,
	Name:    `文章管理`,
	Action:  `official/article`,
	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:  `category`,
		},
		{
			Display: false,
			Name:    `添加分类`,
			Action:  `category_add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改分类`,
			Action:  `category_edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除分类`,
			Action:  `category_delete`,
			Icon:    `remove`,
		},

		{
			Display: true,
			Name:    `评论管理`,
			Action:  `comment/index`,
		},
		{
			Display: false,
			Name:    `评论管理`,
			Action:  `comment/list`,
		},
		{
			Display: false,
			Name:    `添加评论`,
			Action:  `comment/add`,
		},
		{
			Display: false,
			Name:    `设置评论`,
			Action:  `comment/edit`,
		},
		{
			Display: false,
			Name:    `删除评论`,
			Action:  `comment/delete`,
		},

		{
			Display: true,
			Name:    `友情链接`,
			Action:  `friendlink_index`,
		},
		{
			Display: false,
			Name:    `添加链接`,
			Action:  `friendlink_add`,
		},
		{
			Display: false,
			Name:    `修改链接`,
			Action:  `friendlink_edit`,
		},
		{
			Display: false,
			Name:    `删除链接`,
			Action:  `friendlink_delete`,
		},
	},
}

Functions

func Add

func Add(ctx echo.Context) error

func CategoryAdd

func CategoryAdd(ctx echo.Context) error

func CategoryDelete

func CategoryDelete(ctx echo.Context) error

func CategoryEdit

func CategoryEdit(ctx echo.Context) error

func CategoryIndex

func CategoryIndex(ctx echo.Context) error

func Delete

func Delete(ctx echo.Context) error

func Edit

func Edit(ctx echo.Context) error

func FriendlinkAdd

func FriendlinkAdd(ctx echo.Context) error

func FriendlinkDelete

func FriendlinkDelete(ctx echo.Context) error

func FriendlinkEdit

func FriendlinkEdit(ctx echo.Context) error

func FriendlinkFormFilter

func FriendlinkFormFilter(options ...formfilter.Options) echo.FormDataFilter

func FriendlinkIndex

func FriendlinkIndex(ctx echo.Context) error

func Index

func Index(ctx echo.Context) error

func SetArticleFormData

func SetArticleFormData(ctx echo.Context, sourceID string, sourceTable string)

func SetFriendlinkFormData

func SetFriendlinkFormData(ctx echo.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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