agent

package
v0.4.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AgentEdit = func(c echo.Context) error {
	var err error
	c.Set(`activeURL`, `/user/agent/index`)

	return c.Render(`/user/agent/edit`, err)
}

AgentEdit 修改代理资料

View Source
var AgentIndex = func(c echo.Context) error {
	var err error
	c.Set(`activeURL`, `/user/agent/index`)
	return c.Render(`/user/agent/index`, err)
}

AgentIndex 代理中心首页

View Source
var LeftNavigate = &navigate.List{
	{
		Display: true,
		Name:    `代理`,
		Action:  `agent`,
		Icon:    `link`,
		Children: &navigate.List{
			{
				Display:  true,
				Name:     `我的代理`,
				Action:   `index`,
				Icon:     `table`,
				Children: &navigate.List{},
			},
			{
				Display:  false,
				Name:     `修改代理资料`,
				Action:   `edit`,
				Icon:     `pencil`,
				Children: &navigate.List{},
			},
			{
				Display:  false,
				Name:     `我的邀请`,
				Action:   `invited`,
				Icon:     `table`,
				Children: &navigate.List{},
			},
		},
	},
}

Functions

func AgentApply

func AgentApply(c echo.Context) error

AgentApply 申请成为代理

func InvitedList

func InvitedList(ctx echo.Context) error

InvitedList 被邀请的用户列表

Types

This section is empty.

Jump to

Keyboard shortcuts

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