Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminUser ¶
type AdminUser struct {
Id int64 `json:"id" ` //是否可空:NO
Name string `json:"name"`
Enable byte `json:"enable"`
RoleID int64 `json:"role_id"`
BelongToGroup int64 `json:"belong_to_group"`
GroupName string `gorm:"-" json:"group_name"`
RoleName string `gorm:"-" json:"role_name"`
CreateTime int64 `json:"create_time" ` //是否可空:NO
}
type AggGroupInfo ¶ added in v1.1.25
type AggInfo ¶ added in v1.0.4
type AggInfo struct {
TgUserId int64 `json:"tg_user_id"`
TgUserName string `json:"tg_user_name"`
TimeUnit string `json:"time_unit"`
TotalFlow float64 `json:"total_flow"` //流水 --下注总额
TotalBankerWin float64 `json:"total_banker_win"` //庄家赢
TotalBankerLose float64 `json:"total_banker_lose"` //庄家输
TotalBankerFee float64 `json:"total_banker_fee"` //庄家扣点收益
TotalGroupProfit float64 `json:"total_group_profit"` //集团收益
TotalWin float64 `json:"total_win"` //输赢 --
TotalRecharge float64 `json:"total_recharge"` //充值
TotalWithdraw float64 `json:"total_withdraw"` //提现
TotalFanShui float64 `json:"total_fan_shui"` //反水
TotalBets int `json:"total_bets"` //下注数量
AccountBalance float64 `json:"account_balance"` //总余额
}
type MenuInfo ¶
type MenuInfo struct {
ID int64 `json:"id"` // 权限ID
Name string `json:"name"` // 权限名称
RouteName string `json:"route_name"` // 权限路由名称
Route string `json:"route"` // 权限路由路径
ParentId int64 `json:"parent_id"`
IsDisplay bool `json:"is_display"`
IsButton byte `json:"is_button"`
Children []*MenuInfo `json:"children"`
}
type MigrateUserInfo ¶ added in v1.1.31
type MigrateUserInfo struct {
UserInfo string `json:"user_info"`
DownloadCount int64 `json:"download_count"`
BetRecCount int64 `json:"bet_rec_count"`
MoneyRecCount int64 `json:"money_rec_count"`
}
func (MigrateUserInfo) ToString ¶ added in v1.1.31
func (self MigrateUserInfo) ToString() string
type PayoutInfo ¶ added in v1.1.37
type TgUser ¶
type TgUser struct {
TgUserId int64 `gorm:"type:bigint;index:tg_user_id;comment:telegram user id" json:"tg_user_id"`
UserName string `gorm:"type:varchar(100);default:''" json:"user_name"`
FirstName string `gorm:"type:varchar(100);default:''" json:"first_name"`
LastName string `gorm:"type:varchar(100);default:''" json:"last_name"`
}
func (*TgUser) DisplayName ¶
type UserDlineDetail ¶ added in v1.1.26
type UserDlineDetail struct {
UserID int64 `json:"user_id"`
UserName string `json:"user_name"`
GroupID int64 `json:"group_id"`
GroupName string `json:"group_name"`
DLUserID int64 `json:"dl_user_id"`
DLUserName string `json:"dl_user_name"`
BetTimeRange string `json:"bet_time_range"`
DLTotalWinLoss float64 `json:"dl_total_win_loss"`
DLTotalFlower float64 `json:"dl_total_flower"`
}
type WithdrawInfo ¶ added in v1.0.7
type WithdrawInfo struct {
model.UserWithdraw
DisplayName string `gorm:"-" json:"display_name"`
}
Click to show internal directories.
Click to hide internal directories.