customer

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: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetAgentLevelList = func(echo.Context) (interface{}, error) {
	return nil, nil
}
View Source
var LeftNavigate = &navigate.Item{
	Display: true,
	Name:    `客户管理`,
	Action:  `official/customer`,
	Icon:    `user`,
	Children: &navigate.List{
		{
			Display: true,
			Name:    `客户管理`,
			Action:  `index`,
		},
		{
			Display: true,
			Name:    `添加客户`,
			Action:  `add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改客户`,
			Action:  `edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除客户`,
			Action:  `delete`,
			Icon:    `remove`,
		},
		{
			Display: false,
			Name:    `踢下线`,
			Action:  `kick`,
		},
		{
			Display: false,
			Name:    `重新统计客户文件`,
			Action:  `recount_file`,
		},

		{
			Display: true,
			Name:    `等级管理`,
			Action:  `level/index`,
		},
		{
			Display: true,
			Name:    `添加等级`,
			Action:  `level/add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改等级`,
			Action:  `level/edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除等级`,
			Action:  `level/delete`,
			Icon:    `remove`,
		},

		{
			Display: true,
			Name:    `等级组套餐`,
			Action:  `group_package/index`,
		},
		{
			Display: false,
			Name:    `添加套餐`,
			Action:  `group_package/add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改套餐`,
			Action:  `group_package/edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除套餐`,
			Action:  `group_package/delete`,
			Icon:    `remove`,
		},

		{
			Display: true,
			Name:    `资产管理`,
			Action:  `wallet/index`,
		},
		{
			Display: false,
			Name:    `修改资产`,
			Action:  `wallet/edit`,
			Icon:    `pencil`,
		},
		{
			Display: true,
			Name:    `资产流水`,
			Action:  `wallet/flow`,
		},

		{
			Display: true,
			Name:    `分组管理`,
			Action:  `group/index`,
		},
		{
			Display: false,
			Name:    `添加分组`,
			Action:  `group/add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改分组`,
			Action:  `group/edit`,
			Icon:    ``,
		},
		{
			Display: false,
			Name:    `删除分组`,
			Action:  `group/delete`,
			Icon:    ``,
		},

		{
			Display: true,
			Name:    `客户角色`,
			Action:  `role/index`,
		},
		{
			Display: false,
			Name:    `添加角色`,
			Action:  `role/add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改角色`,
			Action:  `role/edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除角色`,
			Action:  `role/delete`,
			Icon:    `remove`,
		},

		{
			Display: true,
			Name:    `邀请码`,
			Action:  `invitation/index`,
		},
		{
			Display: false,
			Name:    `添加邀请码`,
			Action:  `invitation/add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改邀请码`,
			Action:  `invitation/edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `受邀客户列表`,
			Action:  `invitation/customer_list`,
		},
		{
			Display: false,
			Name:    `删除邀请码`,
			Action:  `invitation/delete`,
			Icon:    `remove`,
		},

		{
			Display: true,
			Name:    `客户投诉`,
			Action:  `complaint/index`,
		},
		{
			Display: false,
			Name:    `修改投诉`,
			Action:  `complaint/edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除投诉`,
			Action:  `complaint/delete`,
			Icon:    `remove`,
		},
		{
			Display: true,
			Name:    `充值卡管理`,
			Action:  `prepaid_card/index`,
		},
		{
			Display: false,
			Name:    `添加充值卡`,
			Action:  `prepaid_card/add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改充值卡`,
			Action:  `prepaid_card/edit`,
			Icon:    `pencil`,
		},
		{
			Display: false,
			Name:    `删除充值卡`,
			Action:  `prepaid_card/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 Kick

func Kick(ctx echo.Context) error

Kick 踢🦶客户下线

func RecountFile added in v0.2.18

func RecountFile(ctx echo.Context) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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