Documentation ¶
Index ¶
- func ListAggTimeUnit() []string
- func ListAggType() []string
- type AddAdminUser
- type AddMenu
- type AddRole
- type AggProxy
- type AggUser
- type AuditWithdrawPass
- type AuditWithdrawReject
- type Base
- type BasePageReq
- type BaseReq
- type DelAdminUser
- type DelEventLog
- type DelExceptionLog
- type DelMenu
- type DelRole
- type EditMenu
- type EditRole
- type ListChatGroup
- type ListEventLog
- type ListExceptionLog
- type ListGroupUser
- type ListMenu
- type ListMoneyRec
- type ListMoneyType
- type ListOddsType
- type ListOpenK3
- type ListOrder
- type ListTgUser
- type ListUser
- type ListWithdraw
- type Login
- type OrderCallbackReq
- type RefreshMenu
- type SetAdminUserPwd
- type SetAdminUserRole
- type SetAdminUserStatus
- type SetGroupAdmin
- type SetGroupOdds
- type SetGroupProxy
- type SetMenuApi
- type SetRoleMenus
- type TimeRange
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListAggTimeUnit ¶ added in v1.0.6
func ListAggTimeUnit() []string
func ListAggType ¶ added in v1.0.4
func ListAggType() []string
Types ¶
type AddAdminUser ¶
type AddMenu ¶ added in v1.0.9
type AddMenu struct { BaseReq `validate:"valid(T)"` ParentID int64 `form:"parent_id" validate:"min(0,invalid parent menu id)"` Name string `form:"name" validate:"minlen(1,菜单名称)"` RouteName string `form:"route_name" validate:"minlen(1,菜单路由名称不能为空)"` Route string `form:"route" validate:"minlen(1,菜单路由路径不能为空)"` IsButton bool `form:"is_button"` }
type AggProxy ¶ added in v1.0.4
type AggProxy struct { BaseReq `validate:"valid(T)"` TimeRange `validate:"valid(T)"` TimeUnit string `form:"time_unit" validate:"enum(day|week|month|year,无效的统计时长)"` Type int `form:"type" validate:"enum(1|2|3,无效的类别)"` //充值 / 下注 / 提现 }
代理人统计
type AggUser ¶ added in v1.0.4
type AggUser struct { BaseReq `validate:"valid(T)"` TimeRange `validate:"valid(T)"` TimeUnit string `form:"time_unit" validate:"enum(day|week|month|year,无效的统计时长)"` Type int `form:"type" validate:"enum(1|2|3,无效的类别)"` //充值 / 下注 / 提现 }
个人用户统计
type AuditWithdrawPass ¶ added in v1.0.7
type AuditWithdrawReject ¶ added in v1.0.7
type BasePageReq ¶
type DelAdminUser ¶
type DelEventLog ¶ added in v1.0.7
type DelExceptionLog ¶ added in v1.0.7
type ListChatGroup ¶
type ListChatGroup struct { BasePageReq `validate:"valid(T)"` Search string `form:"search"` }
type ListEventLog ¶ added in v1.0.7
type ListEventLog struct { BasePageReq `validate:"valid(T)"` SearchKey string `form:"search_key"` }
type ListExceptionLog ¶ added in v1.0.7
type ListExceptionLog struct { BasePageReq `validate:"valid(T)"` SearchKey string `form:"search_key"` }
type ListGroupUser ¶
type ListGroupUser struct { BasePageReq `validate:"valid(T)"` GroupId int64 `form:"group_id" validate:"lt(0,invalid group id)"` Search string `form:"search"` }
type ListMoneyRec ¶
type ListMoneyRec struct { BasePageReq `validate:"valid(T)"` MoneyType int `form:"money_type" validate:"gte(0,invalid money type)"` TgUserId int64 `form:"tg_user_id" validate:"gte(0,invalid tg user id)"` }
func (*ListMoneyRec) Check ¶
func (self *ListMoneyRec) Check() error
type ListMoneyType ¶
type ListMoneyType struct {
BaseReq `validate:"valid(T)"`
}
type ListOddsType ¶
type ListOddsType struct {
BaseReq `validate:"valid(T)"`
}
type ListOpenK3 ¶
type ListOpenK3 struct { BasePageReq `validate:"valid(T)"` GroupId int64 `form:"group_id" validate:"lte(0,invalid group id)"` }
type ListOrder ¶
type ListOrder struct { BasePageReq `validate:"valid(T)"` GroupId int64 `form:"group_id" validate:"lte(0,invalid group id)"` TgUserId int64 `form:"tg_user_id" validate:"gte(0,invalid tg user id)"` }
type ListTgUser ¶
type ListTgUser struct { BasePageReq `validate:"valid(T)"` Search string `form:"search"` }
type ListUser ¶ added in v1.0.7
type ListUser struct { BasePageReq `validate:"valid(T)"` Search string `form:"search"` }
type ListWithdraw ¶ added in v1.0.7
type ListWithdraw struct { BasePageReq `validate:"valid(T)"` Status int `form:"status" validate:"enum(0|1|2|3,invalid withdraw status)"` }
type OrderCallbackReq ¶ added in v1.0.7
type RefreshMenu ¶
type RefreshMenu struct {
BaseReq `validate:"valid(T)"`
}
type SetAdminUserPwd ¶
type SetAdminUserRole ¶
type SetAdminUserStatus ¶
type SetGroupAdmin ¶
type SetGroupOdds ¶
type SetGroupOdds struct { BaseReq `validate:"valid(T)"` GroupId int64 `form:"group_id" validate:"lt(0,invalid group id)"` SetOdds string `form:"set_odds" validate:"minlen(1,empty odds setting)"` MapOdds map[string]float64 `form:"-"` }
func (*SetGroupOdds) Check ¶
func (self *SetGroupOdds) Check() error
type SetGroupProxy ¶ added in v1.0.3
type SetMenuApi ¶ added in v1.0.9
type SetMenuApi struct { BaseReq `validate:"valid(T)"` ID int64 `form:"id" validate:"min(1,empty menu id)"` ListApiPermission []string `form:"list_api_permission" validate:"arr_minlen(1,empty list api)"` }
func (*SetMenuApi) Check ¶ added in v1.0.9
func (self *SetMenuApi) Check() error
type SetRoleMenus ¶ added in v1.0.9
Click to show internal directories.
Click to hide internal directories.