controllers

package
v0.0.0-...-5b03b29 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

后台充值

登录公告管理

公告管理

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackgroundController

type BackgroundController struct {
	BaseController
}

func (*BackgroundController) Charge

func (c *BackgroundController) Charge()

func (*BackgroundController) List

func (c *BackgroundController) List()

type BaseController

type BaseController struct {
	beego.Controller
	// contains filtered or unexported fields
}

func (*BaseController) CheckError

func (c *BaseController) CheckError(err error, msg ...string)

检查错误, 失败直接终止当前请求

func (*BaseController) IsAccountEnable

func (c *BaseController) IsAccountEnable() bool

是否帐号有效

func (*BaseController) IsLogin

func (c *BaseController) IsLogin() bool

是否登录

func (*BaseController) Prepare

func (c *BaseController) Prepare()

func (*BaseController) Result

func (c *BaseController) Result(code enums.ResultCode, msg string, data interface{})

请求返回json

type ChannelController

type ChannelController struct {
	BaseController
}

func (*ChannelController) Del

func (c *ChannelController) Del()

删除渠道

func (*ChannelController) Edit

func (c *ChannelController) Edit()

编辑 添加渠道

func (*ChannelController) List

func (c *ChannelController) List()

获取渠道列表

type ChargeController

type ChargeController struct {
	BaseController
}

func (*ChargeController) ChargeActivityDistribution

func (c *ChargeController) ChargeActivityDistribution()

充值活动分布

func (*ChargeController) ChargeLevelDistribution

func (c *ChargeController) ChargeLevelDistribution()

充值等级分布

func (*ChargeController) ChargeList

func (c *ChargeController) ChargeList()

获取充值列表

func (*ChargeController) ChargeMoneyDistribution

func (c *ChargeController) ChargeMoneyDistribution()

充值金额分布

func (*ChargeController) ChargeRankList

func (c *ChargeController) ChargeRankList()

获取充值排行榜

func (*ChargeController) ChargeTaskDistribution

func (c *ChargeController) ChargeTaskDistribution()

充值任务分布

func (*ChargeController) GetDailyLTV

func (c *ChargeController) GetDailyLTV()

每日LTV

type ForbidController

type ForbidController struct {
	BaseController
}

func (*ForbidController) ForbidLogList

func (c *ForbidController) ForbidLogList()

获取封禁列表

func (*ForbidController) SetForbid

func (c *ForbidController) SetForbid()

封禁

type GameServerController

type GameServerController struct {
	BaseController
}

func (*GameServerController) BatchUpdateState

func (c *GameServerController) BatchUpdateState()

批量修改区服状态

func (*GameServerController) Delete

func (c *GameServerController) Delete()

删除游戏服

func (*GameServerController) Edit

func (c *GameServerController) Edit()

添加 编辑 游戏服

func (*GameServerController) List

func (c *GameServerController) List()

获取游戏服列表

func (*GameServerController) OpenServer

func (c *GameServerController) OpenServer()

开服

func (*GameServerController) Refresh

func (c *GameServerController) Refresh()

刷新区服入口

type InventoryDatabaseController

type InventoryDatabaseController struct {
	BaseController
}

func (*InventoryDatabaseController) AllDatabaseList

func (c *InventoryDatabaseController) AllDatabaseList()

func (*InventoryDatabaseController) DatabaseList

func (c *InventoryDatabaseController) DatabaseList()

func (*InventoryDatabaseController) DeleteDatabase

func (c *InventoryDatabaseController) DeleteDatabase()

删除用户

func (*InventoryDatabaseController) EditDatabase

func (c *InventoryDatabaseController) EditDatabase()

编辑 添加用户

type InventoryServerController

type InventoryServerController struct {
	BaseController
}

func (*InventoryServerController) AllServerList

func (c *InventoryServerController) AllServerList()

func (*InventoryServerController) CreateAnsibleInventory

func (c *InventoryServerController) CreateAnsibleInventory()

创建ansible

func (*InventoryServerController) DeleteServer

func (c *InventoryServerController) DeleteServer()

删除服务器

func (*InventoryServerController) EditServer

func (c *InventoryServerController) EditServer()

编辑 添加服务器

func (*InventoryServerController) ServerList

func (c *InventoryServerController) ServerList()

type LogController

type LogController struct {
	BaseController
}

func (*LogController) PlayerChallengeMissionLogList

func (c *LogController) PlayerChallengeMissionLogList()

func (*LogController) PlayerLoinLogList

func (c *LogController) PlayerLoinLogList()

func (*LogController) PlayerOnlineLogList

func (c *LogController) PlayerOnlineLogList()

func (*LogController) PlayerPropLogList

func (c *LogController) PlayerPropLogList()

type LoginController

type LoginController struct {
	BaseController
}

func (*LoginController) Login

func (c *LoginController) Login()

func (*LoginController) Logout

func (c *LoginController) Logout()

type LoginNoticeController

type LoginNoticeController struct {
	BaseController
}

func (*LoginNoticeController) BatchSetNotice

func (c *LoginNoticeController) BatchSetNotice()

批量设置登录公告

func (*LoginNoticeController) DelLoginNotice

func (c *LoginNoticeController) DelLoginNotice()

删除登录公告

func (*LoginNoticeController) LoginNoticeList

func (c *LoginNoticeController) LoginNoticeList()

获取登录公告列表

func (*LoginNoticeController) SetNotice

func (c *LoginNoticeController) SetNotice()

设置登录公告

type MailController

type MailController struct {
	BaseController
}

func (*MailController) DelMailLog

func (c *MailController) DelMailLog()

删除邮件

func (*MailController) MailLogList

func (c *MailController) MailLogList()

获取邮件列表

func (*MailController) SendMail

func (c *MailController) SendMail()

发送邮件

type MainController

type MainController struct {
	beego.Controller
}

func (*MainController) Get

func (c *MainController) Get()
type MenuController struct {
	BaseController
}
func (c *MenuController) Delete()

删除菜单

func (c *MenuController) Edit()

编辑添加菜单

func (c *MenuController) GetParentMenuList()

获取可以成为某节点的父节点列表

func (c *MenuController) List()

获取菜单列表

func (c *MenuController) MenuTree()

type NoticeController

type NoticeController struct {
	BaseController
}

func (*NoticeController) DelNoticeLog

func (c *NoticeController) DelNoticeLog()

删除公告

func (*NoticeController) NoticeLogList

func (c *NoticeController) NoticeLogList()

获取公告列表

func (*NoticeController) SendNotice

func (c *NoticeController) SendNotice()

发送公告

type PlatformController

type PlatformController struct {
	BaseController
}

func (*PlatformController) Del

func (c *PlatformController) Del()

删除平台

func (*PlatformController) Edit

func (c *PlatformController) Edit()

编辑 添加平台

func (*PlatformController) List

func (c *PlatformController) List()

type PlayerController

type PlayerController struct {
	BaseController
}

func (*PlayerController) AccountDetail

func (c *PlayerController) AccountDetail()

func (*PlayerController) Detail

func (c *PlayerController) Detail()

func (*PlayerController) List

func (c *PlayerController) List()

func (*PlayerController) One

func (c *PlayerController) One()

func (*PlayerController) SetAccountType

func (c *PlayerController) SetAccountType()

设置帐号类型

type RemainController

type RemainController struct {
	BaseController
}

func (*RemainController) GetActiveRemain

func (c *RemainController) GetActiveRemain()

活跃留存

func (*RemainController) GetChargeRemain

func (c *RemainController) GetChargeRemain()

付费留存

func (*RemainController) GetLevelRemain

func (c *RemainController) GetLevelRemain()

等级留存

func (*RemainController) GetTaskRemain

func (c *RemainController) GetTaskRemain()

任务留存

func (*RemainController) GetTimeRemain

func (c *RemainController) GetTimeRemain()

时长留存

func (*RemainController) GetTotalRemain

func (c *RemainController) GetTotalRemain()

总体留存

type ResourceController

type ResourceController struct {
	BaseController
}

func (*ResourceController) CheckUrlFor

func (c *ResourceController) CheckUrlFor()

CheckUrlFor 填写UrlFor时进行验证

func (*ResourceController) Delete

func (c *ResourceController) Delete()

删除资源

func (*ResourceController) Edit

func (c *ResourceController) Edit()

编辑添加资源

func (*ResourceController) GetParentResourceList

func (c *ResourceController) GetParentResourceList()

获取可以成为某节点的父节点列表

func (*ResourceController) List

func (c *ResourceController) List()

获取资源列表

func (*ResourceController) ResourceTree

func (c *ResourceController) ResourceTree()
func (c *ResourceController) UrlFor2Link(src []*models.Resource)

UrlFor2Link 使用URLFor方法,批量将资源表里的UrlFor值转成LinkUrl

func (*ResourceController) UrlFor2LinkOne

func (c *ResourceController) UrlFor2LinkOne(urlfor string) string

将资源表里的UrlFor值转成LinkUrl

type RoleController

type RoleController struct {
	BaseController
}

角色管理

func (*RoleController) AllocateChannel

func (c *RoleController) AllocateChannel()

角色分配渠道

func (*RoleController) AllocateMenu

func (c *RoleController) AllocateMenu()

角色分配菜单

func (*RoleController) AllocateResource

func (c *RoleController) AllocateResource()

角色分配资源

func (*RoleController) Delete

func (c *RoleController) Delete()

删除角色

func (*RoleController) Edit

func (c *RoleController) Edit()

添加,编辑角色

func (*RoleController) List

func (c *RoleController) List()

获取角色列表

type ServerNodeController

type ServerNodeController struct {
	BaseController
}

func (*ServerNodeController) Action

func (c *ServerNodeController) Action()

func (*ServerNodeController) Delete

func (c *ServerNodeController) Delete()

删除节点

func (*ServerNodeController) Edit

func (c *ServerNodeController) Edit()

添加 编辑 节点

func (*ServerNodeController) Install

func (c *ServerNodeController) Install()

func (*ServerNodeController) List

func (c *ServerNodeController) List()

获取节点列表

type StatisticsController

type StatisticsController struct {
	BaseController
}

func (*StatisticsController) ConsumeAnalysis

func (c *StatisticsController) ConsumeAnalysis()

消费分析

func (*StatisticsController) DailyStatisticsList

func (c *StatisticsController) DailyStatisticsList()

每日汇总

func (*StatisticsController) GetChargeStatistics

func (c *StatisticsController) GetChargeStatistics()

func (*StatisticsController) GetIncomeStatistics

func (c *StatisticsController) GetIncomeStatistics()

func (*StatisticsController) GetRealTimeOnline

func (c *StatisticsController) GetRealTimeOnline()

func (*StatisticsController) GetServerGeneralize

func (c *StatisticsController) GetServerGeneralize()

服务器概况

type ToolController

type ToolController struct {
	BaseController
}

func (*ToolController) Action

func (c *ToolController) Action()

func (*ToolController) ActiveFunction

func (c *ToolController) ActiveFunction()

func (*ToolController) FinishBranchTask

func (c *ToolController) FinishBranchTask()

func (*ToolController) GetIpOrigin

func (c *ToolController) GetIpOrigin()

func (*ToolController) GetJson

func (c *ToolController) GetJson()

func (*ToolController) GetWeixinArgs

func (c *ToolController) GetWeixinArgs()

func (*ToolController) Merge

func (c *ToolController) Merge()

func (*ToolController) SendProp

func (c *ToolController) SendProp()

func (*ToolController) SetTask

func (c *ToolController) SetTask()

func (*ToolController) SqlQuery

func (c *ToolController) SqlQuery()

func (*ToolController) UpdateWeixinArgs

func (c *ToolController) UpdateWeixinArgs()

type UserController

type UserController struct {
	BaseController
}

func (*UserController) ChangePassword

func (c *UserController) ChangePassword()

修改密码

func (*UserController) Delete

func (c *UserController) Delete()

删除用户

func (*UserController) Edit

func (c *UserController) Edit()

编辑 添加用户

func (*UserController) Info

func (c *UserController) Info()

func (*UserController) List

func (c *UserController) List()

获取用户列表

Jump to

Keyboard shortcuts

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