Documentation ¶
Index ¶
Constants ¶
View Source
const ( LtTypePk10 LtTypeSsc )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptchaObj ¶
type FlyRecords ¶
type FlyRecords struct { BaseModel `xorm:"extends"` OrderID string `json:"order_id"` Result bool `json:"result" xorm:"notnull index"` }
飞单记录表
type FlyRoomAccount ¶
type FlyRoomSetting ¶
type FlyRoomSetting struct { BaseModel `xorm:"extends"` FlyRoomAccount `xorm:"extends"` RoomID int64 `json:"room_id" xorm:"notnull unique"` TypeID int64 `json:"type_id" xorm:"notnull index"` FlyGidList []int64 `json:"fly_gid_list" xorm:"notnull"` }
type FlySplitRecords ¶
type FlySplitRecords struct { BaseModel `xorm:"extends"` Gid int64 `json:"gid" xorm:"notnull index"` RoomID int64 `json:"room_id" xorm:"notnull index"` Issue string `json:"issue" xorm:"varchar(20) notnull index"` BetMoney int64 `json:"bet_money" xorm:"notnull"` PlayName string `json:"play_name" xorm:"varchar(20) notnull index"` Content string `json:"content" xorm:"varchar(300) notnull"` //-1=>待飞单,1=>成功,2=>失败 StatusCode int `json:"status_code" xorm:"notnull index"` }
func (*FlySplitRecords) GetBetContents ¶
func (m *FlySplitRecords) GetBetContents() string
func (*FlySplitRecords) GetBetMoney ¶
func (m *FlySplitRecords) GetBetMoney() int64
func (*FlySplitRecords) GetGid ¶
func (m *FlySplitRecords) GetGid() int64
func (*FlySplitRecords) GetIssue ¶
func (m *FlySplitRecords) GetIssue() string
func (*FlySplitRecords) GetPlayName ¶
func (m *FlySplitRecords) GetPlayName() string
type FlySysTypes ¶
type GameLotteries ¶
type GameLotteries struct { BaseModel Gid int64 `json:"gid"` TypeID int `json:"type_id"` TypeName string `json:"type_name"` Name string `json:"name"` NameCN string `json:"name_cn"` Enable bool `json:"enable"` IsSys bool `json:"is_sys"` NormalRemainSecond int64 `json:"normal_remain_second"` NormalBetBeforeMt int64 `json:"normal_bet_before_mt"` Icon string `json:"icon"` VideoURL string `json:"video_url"` IssueAddOne bool `json:"issue_add_one"` }
func (*GameLotteries) GetTypeIDByGid ¶
func (m *GameLotteries) GetTypeIDByGid(gid int64) (tp int, err error)
type LoginInstanceProcessor ¶
type Users ¶
type Users struct { BaseModel UserName string `json:"user_name"` Nick string `json:"nick"` RCode string `json:"r_code"` Password string `json:"password,omitempty"` RoleID int `json:"role_id"` RoleName string `json:"role_name,omitempty"` RoomID int64 `json:"room_id,omitempty"` Wx string `json:"wx"` Phone string `json:"phone,omitempty"` Ico string `json:"ico,omitempty"` Enable bool `json:"enable"` Comment string `json:"comment,omitempty"` UpID int64 `json:"up_id,omitempty"` Ups string `json:"ups,omitempty"` PathID string `json:"path_id"` IsDy bool `json:"is_dy"` NoTalk bool `json:"no_talk"` CaptchaObj }
type VFlyRoomSetting ¶
type VFlyRoomSetting struct { FlyRoomSetting `xorm:"extends"` RoomName string `json:"room_name"` RoomOwnerID int64 `json:"room_owner_id"` Type string `json:"type"` LoginInstance LoginInstanceProcessor `json:"-"` WsProcess `json:"-"` }
func (*VFlyRoomSetting) GetPassword ¶
func (m *VFlyRoomSetting) GetPassword() string
func (*VFlyRoomSetting) GetUriList ¶
func (m *VFlyRoomSetting) GetUriList() []string
func (*VFlyRoomSetting) GetUserName ¶
func (m *VFlyRoomSetting) GetUserName() string
func (*VFlyRoomSetting) SetAccount ¶
func (m *VFlyRoomSetting) SetAccount(balance float64)
type WsSendJSON ¶
type WsSendJSON struct { Type string `json:"type,omitempty"` Code int `json:"code,omitempty"` CodeText string `json:"code_text,omitempty"` FromUser *Users `json:"from_user,omitempty"` FromUserName string `json:"-"` ToUserName string `json:"to_user_name,omitempty"` RoomID int64 `json:"room_id,omitempty"` Gid int64 `json:"gid,omitempty"` Message interface{} `json:"message"` }
func NewWsSend ¶
func NewWsSend(typeStr string, code int, msg interface{}) *WsSendJSON
Click to show internal directories.
Click to hide internal directories.