Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserClubStatusApply = 1 UserClubStatusAgree = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminRecharge ¶
type AdminRecharge struct { Id int64 AgentId int64 `xorm:"not null BIGINT(20) default"` AgentName string `xorm:"not null VARCHAR(32) default"` AgentAccount string `xorm:"not null VARCHAR(32) default"` AdminId string `xorm:"not null VARCHAR(32) default"` AdminName string `xorm:"not null VARCHAR(32) default"` AdminAccount string `xorm:"not null VARCHAR(32) default"` Extra string `xorm:"not null VARCHAR(255) default"` CreateAt int64 `xorm:"not null BIGINT(20) default"` CardCount int64 `xorm:"not null BIGINT(20) default"` }
type Agent ¶
type Agent struct { Id int64 Name string `xorm:"not null VARCHAR(32) default"` Account string `xorm:"not null VARCHAR(32) default"` Password string `xorm:"not null VARCHAR(64) default"` Phone string `xorm:"not null VARCHAR(11) default"` Wechat string `xorm:"not null VARCHAR(32) default"` Salt string `xorm:"not null VARCHAR(32) default"` Role int `xorm:"not null TINYINT(4) default"` Status int `xorm:"not null TINYINT(4) default"` Extra string `xorm:"not null VARCHAR(255) default"` CreateAt int64 `xorm:"not null BIGINT(20) default"` DeleteAt int64 `xorm:"not null BIGINT(20) default"` DeleteAccount string `xorm:"not null VARCHAR(32) default"` CreateAccount string `xorm:"not null VARCHAR(32) default"` ConfirmAccount string `xorm:"not null VARCHAR(32) default"` CardCount int64 `xorm:"not null BIGINT(20) default"` Level int `xorm:"not null INT(20) default"` Discount int `xorm:"not null INT(20) default"` }
type Desk ¶
type Desk struct { Id int64 Mode int `xorm:"not null INT(11) default 5"` DeskNo string `xorm:"not null index VARCHAR(6) default"` Player0 int64 `xorm:"not null index BIGINT(20) default 0"` Player1 int64 `xorm:"not null index BIGINT(20) default 0"` Player2 int64 `xorm:"not null index BIGINT(20) default 0"` Player3 int64 `xorm:"not null index BIGINT(20) default 0"` Player4 int64 `xorm:"not null index BIGINT(20) default 0"` PlayerName0 string `xorm:"not null VARCHAR(255) default ''"` PlayerName1 string `xorm:"not null VARCHAR(255) default ''"` PlayerName2 string `xorm:"not null VARCHAR(255) default ''"` PlayerName3 string `xorm:"not null VARCHAR(255) default ''"` PlayerName4 string `xorm:"not null VARCHAR(255) default ''"` ScoreChange0 int `xorm:"not null INT(255) default 0"` ScoreChange1 int `xorm:"not null INT(255) default 0"` ScoreChange2 int `xorm:"not null INT(255) default 0"` ScoreChange3 int `xorm:"not null INT(255) default 0"` ScoreChange4 int `xorm:"not null INT(255) default 0"` CreatedAt int64 `xorm:"not null index BIGINT(255) default 0"` }
type History ¶
type History struct { Id int64 DeskId int64 `xorm:"not null index BIGINT(20) default 0"` Mode int `xorm:"not null index INT(255) default 3"` BeginAt int64 `xorm:"not null BIGINT(255) default 0 "` EndAt int64 `xorm:"not null BIGINT(255) default 0 "` PlayerName0 string `xorm:"not null VARCHAR(255) default"` PlayerName1 string `xorm:"not null VARCHAR(255) default"` PlayerName2 string `xorm:"not null VARCHAR(255) default"` PlayerName3 string `xorm:"not null VARCHAR(255) default"` PlayerName4 string `xorm:"not null VARCHAR(255) default"` ScoreChange0 int `xorm:"not null INT(255) default 0"` ScoreChange1 int `xorm:"not null INT(255) default 0"` ScoreChange2 int `xorm:"not null INT(255) default 0"` ScoreChange3 int `xorm:"not null INT(255) default 0"` ScoreChange4 int `xorm:"not null INT(255) default 0"` Snapshot string `xorm:"not null TEXT default"` }
type Login ¶
type Login struct { Id int64 Uid int64 `xorm:"not null index BIGINT(20) default"` Remote string `xorm:"not null VARCHAR(40) default"` Ip string `xorm:"not null VARCHAR(40) default"` Model string `xorm:"not null VARCHAR(64) default"` Imei string `xorm:"not null VARCHAR(32) default"` Os string `xorm:"not null VARCHAR(64) default"` AppId string `xorm:"not null VARCHAR(64) default"` ChannelId string `xorm:"not null VARCHAR(32) default"` LoginAt int64 `xorm:"not null BIGINT(11) default"` LogoutAt int64 `xorm:"not null BIGINT(11) default"` }
type Register ¶
type Register struct { Id int64 Uid int64 `xorm:"not null index BIGINT(20) default"` Remote string `xorm:"not null VARCHAR(40) default"` Ip string `xorm:"not null VARCHAR(40) default"` Imei string `xorm:"not null VARCHAR(128) default"` Os string `xorm:"not null VARCHAR(20) default"` Model string `xorm:"not null VARCHAR(20) default"` AppId string `xorm:"not null index VARCHAR(32) default"` ChannelId string `xorm:"not null index VARCHAR(32) default"` RegisterAt int64 `xorm:"not null index BIGINT(11) default"` RegisterType int `xorm:"not null index TINYINT(8) default"` }
type ThirdAccount ¶
type ThirdAccount struct { Id int64 ThirdAccount string `xorm:"not null index VARCHAR(128) default"` Uid int64 `xorm:"not null BIGINT(20) default"` Platform string `xorm:"not null index VARCHAR(32) default"` ThirdName string `xorm:"not null VARCHAR(64) default"` HeadUrl string `xorm:"not null VARCHAR(512) default"` Sex int `xorm:"not null TINYINT(4) default 0"` }
type User ¶
type User struct { Id int64 Algo string `xorm:"not null VARCHAR(16) default"` Hash string `xorm:"not null VARCHAR(64) default"` Salt string `xorm:"not null VARCHAR(64) default"` Role int `xorm:"not null TINYINT(3) default 1"` Status int `xorm:"not null TINYINT(3) default 1"` IsOnline int `xorm:"not null TINYINT(1) default 1"` LastLoginAt int64 `xorm:"not null index BIGINT(11) default"` PrivKey string `xorm:"not null VARCHAR(512) default"` PubKey string `xorm:"not null VARCHAR(128) default"` Coin int64 `xorm:"not null BIGINT(20) default 0"` RegisterAt int64 `xorm:"not null index BIGINT(20) default 0"` FirstRechargeAt int64 `xorm:"not null index BIGINT(20) default 0"` Debug int `xorm:"not null index TINYINT(1) default 0"` }
Click to show internal directories.
Click to hide internal directories.