resp

package
v1.1.25 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

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"`
	RoleName   string `gorm:"-" json:"role_name"`
	CreateTime int64  `json:"create_time" ` //是否可空:NO
}

func (*AdminUser) Update

func (self *AdminUser) Update(ret model.AdminUser) error

type AggGroupInfo added in v1.1.25

type AggGroupInfo struct {
	model.ChatGroup
	WinLossAmount float64 `json:"win_loss_amount"` //赢利
	FlowAmount    float64 `json:"flow_amount"`     //流水
}

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"`         //下注数量
}

type BetK3

type BetK3 struct {
	model.BetK3
	GroupTitle string `gorm:"-" json:"group_title"`
}

type GroupUser

type GroupUser struct {
	model.GroupUser
	GroupTitle string `gorm:"-" json:"group_title"`
	Admin      bool   `json:"admin"`
	Proxy      bool   `json:"proxy"`
}

type LoginUser

type LoginUser struct {
	AdminUser
	RootMenu []*MenuInfo `gorm:"-" json:"root_menu"`
	Token    string      `gorm:"-" json:"token"`
}
type Menu struct {
	ID        int64   `json:"id"`
	Name      string  `json:"name"`
	RouteName string  `json:"route_name"`
	Route     string  `json:"route"`
	ParentID  int64   `json:"parent_id"`
	IsButton  byte    `json:"is_button"`
	Children  []*Menu `gorm:"-" json:"children"`
}
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 MoneyRec

type MoneyRec struct {
	model.GroupUserMoneyRec
	GroupTitle      string `gorm:"-" json:"group_title"`
	UserDisplayName string `gorm:"-" json:"user_display_name"`
	MoneyTypeName   string `gorm:"-" json:"money_type_name"`
}

type MoneyType

type MoneyType struct {
	Type int    `json:"type"`
	Name string `json:"name"`
}

type OpenK3

type OpenK3 struct {
	model.OpenK3
	GroupTitle string `gorm:"-" json:"group_title"`
	OrderInfo  string `gorm:"-" json:"order_info"`
}

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

func (self *TgUser) DisplayName() string

type WithdrawInfo added in v1.0.7

type WithdrawInfo struct {
	model.UserWithdraw
	DisplayName string `gorm:"-" json:"display_name"`
}

Jump to

Keyboard shortcuts

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