Documentation ¶
Index ¶
Constants ¶
View Source
const (
DBName = "database"
)
Variables ¶
View Source
var (
Engine *xorm.Engine
)
Functions ¶
This section is empty.
Types ¶
type FlyData ¶
type FlyData struct { Base `xorm:"extends"` RemoteID int64 `json:"remote_id" xorm:"not null unique"` Gid int64 `json:"gid" xorm:"notnull index"` RoomID int64 `json:"room_id" xorm:"notnull"` Issue string `json:"issue" xorm:"notnull TEXT index"` BetMoney int64 `json:"bet_money" xorm:"notnull"` PlayName string `json:"play_name" xorm:"notnull TEXT"` Content string `json:"content" xorm:"notnull TEXT"` //-1=>待飞单,1=>成功,2=>失败 StatusCode int `json:"status_code" xorm:"notnull index"` }
type FlyRecord ¶
type FlyRecord struct { Base `xorm:"extends"` RemoteID int64 `json:"remote_id" xorm:"not null index"` Gid int64 `json:"gid" xorm:"notnull index"` RoomID int64 `json:"room_id" xorm:"notnull"` Issue string `json:"issue" xorm:"notnull TEXT index"` BetMoney int64 `json:"bet_money" xorm:"notnull"` PlayName string `json:"play_name" xorm:"notnull TEXT"` Content string `json:"content" xorm:"notnull TEXT"` //-1=>待飞单,1=>成功,2=>失败 StatusCode int `json:"status_code" xorm:"notnull index"` Reason string `json:"reason" xorm:"not null default('''') TEXT"` }
Click to show internal directories.
Click to hide internal directories.