Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Vip = 1 // 月费姥爷 Svip = 2 // 年费姥爷 BuyStatusSuccess = 1 // 购买成功 BuyStatusRetry = 2 // 需要重试 TimeNano = "2006-01-02 15:04:05" TimeEmpty = "0000-00-00 00:00:00" OpcodeAdd = "add" )
Vip constants
Functions ¶
This section is empty.
Types ¶
type GuardBuy ¶
type GuardBuy struct { OrderId string Uid int64 Ruid int64 GuardLevel int Num int Platform grpc.Platform Source string }
GuardBuy buy guard request struct
type GuardEntryEffect ¶
type GuardEntryEffect struct { EffectId int `json:"effect_id"` Uid int64 `json:"uid"` TargetId int64 `json:"target_id"` EndTime string `json:"end_time"` }
GuardEntryEffect entry effect message
type GuardEntryEffects ¶
type GuardEntryEffects struct { Business int `json:"business"` Data []GuardEntryEffect `json:"data"` }
GuardEntryEffects entry effect message
type GuardInfo ¶
type GuardInfo struct { Id int64 Uid int64 TargetId int64 PrivilegeType int StartTime time.Time ExpiredTime time.Time }
GuardInfo guard info struct for ap_user_privilege
type RoomAdmin ¶
type RoomAdmin struct { Id int64 `json:"id" gorm:"column:id"` Uid int64 `json:"uid" gorm:"column:uid"` Roomid int64 `json:"roomid" gorm:"column:roomid"` Ctime xtime.Time `json:"ctime" gorm:"comumn:ctime"` }
RoomAdmin .
type VipBuy ¶
type VipBuy struct { Uid int64 OrderID string GoodID int GoodNum int Platform grpc.Platform Source string }
VipBuy buy vip request struct
type VipInfo ¶
type VipInfo struct { Vip int `json:"vip"` VipTime string `json:"vip_time"` Svip int `json:"svip"` SvipTime string `json:"svip_time"` }
VipInfo vip info struct
type VipRecord ¶
type VipRecord struct { Uid int64 `json:"uid"` Opcode string `json:"opcode"` BuyType int `json:"buy_type"` BuyNum int `json:"buy_num"` VipType int `json:"vip_type"` BeforeVipTime string `json:"begin"` AfterVipTime string `json:"end"` Platform string }
VipRecord ap_vip_record log and notify message
Click to show internal directories.
Click to hide internal directories.