Documentation ¶
Index ¶
- Constants
- type ActBws
- type ActBwsAchievement
- type ActBwsField
- type ActBwsPoint
- type ActBwsUser
- type ActBwsUserAchievement
- type ActBwsUserPoint
- type ActLikeLog
- type ActMatchs
- type ActMatchsObject
- type ActSubject
- type ActSubjectProtocol
- type ActSubjectResult
- type ActTimeConfig
- type ActivityAVInfo
- type AddLikes
- type AddList
- type AddPic
- type ArchiveParam
- type BatchLike
- type Like
- type LikeAction
- type LikeContent
- type LikesParam
- type LikesRes
- type ListSub
- type MusicRes
- type PageRes
- type SidSub
- type SubListRes
- type UpLike
- type UpReply
- type UpWid
Constants ¶
View Source
const ( VIDEO = 1 PICTURE = 2 DRAWYOO = 3 VIDEOLIKE = 4 PICTURELIKE = 5 DRAWYOOLIKE = 6 TEXT = 7 TEXTLIKE = 8 ONLINEVOTE = 9 QUESTION = 10 LOTTERY = 11 ARTICLE = 12 VIDEO2 = 13 MUSIC = 15 PHONEVIDEO = 16 SMALLVIDEO = 17 RESERVATION = 18 MISSIONGROUP = 19 )
VIDEO actiivty types .
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActBws ¶
type ActBws struct { ID int64 `json:"id" form:"id"` Name string `json:"name" form:"name"` Image string `json:"image" form:"image"` Dic string `json:"dic" form:"dic"` Del int8 `json:"del" form:"del"` Ctime time.Time `json:"ctime"` Mtime time.Time `json:"mtime"` }
ActBws def.
type ActBwsAchievement ¶
type ActBwsAchievement struct { ID int64 `json:"id" form:"id"` Name string `json:"name" form:"name"` Icon string `json:"icon" form:"icon"` Dic string `json:"dic" form:"dic"` Image string `json:"image" form:"image"` LinkType int64 `json:"link_type" form:"link_type"` Unlock int64 `json:"unlock" form:"unlock"` BID int64 `json:"bid" gorm:"column:bid" form:"bid"` IconBig string `json:"icon_big" form:"icon_big"` IconActive string `json:"icon_active" form:"icon_active"` IconActiveBig string `json:"icon_active_big" form:"icon_active_big"` Award int8 `json:"award" form:"award"` Ctime time.Time `json:"ctime"` Mtime time.Time `json:"mtime"` Del int8 `json:"del" form:"del"` SuitID int64 `json:"suit_id" gorm:"column:suit_id" form:"suit_id"` }
ActBwsAchievement def.
type ActBwsField ¶
type ActBwsField struct { ID int64 `json:"id" form:"id"` Name string `json:"name" form:"name"` Area string `json:"area" form:"area"` BID int64 `json:"bid" gorm:"column:bid" form:"bid"` Del int8 `json:"del" form:"del"` Ctime time.Time `json:"ctime"` Mtime time.Time `json:"mtime"` }
ActBwsField def.
type ActBwsPoint ¶
type ActBwsPoint struct { ID int64 `json:"id" form:"id"` Name string `json:"name" form:"name"` Icon string `json:"icon" form:"icon"` FID int64 `json:"fid" gorm:"column:fid" form:"fid"` Ower int64 `json:"ower" gorm:"column:ower" form:"ower"` Image string `json:"image" form:"image"` Unlocked int64 `json:"unlocked" form:"unlocked"` LoseUnlocked int64 `json:"lose_unlocked" form:"lose_unlocked"` LockType int64 `json:"lock_type" form:"lock_type"` Dic string `json:"dic" form:"dic"` Rule string `json:"rule" form:"rule"` BID int64 `json:"bid" gorm:"column:bid" form:"bid"` OtherIP string `json:"other_ip" gorm:"column:other_ip" form:"other_ip"` Del int8 `json:"del" form:"del"` Ctime time.Time `json:"ctime"` Mtime time.Time `json:"mtime"` }
ActBwsPoint def.
type ActBwsUser ¶
type ActBwsUser struct { ID int64 `json:"id" form:"id"` MID int64 `json:"mid" gorm:"column:mid" form:"mid"` BID int64 `json:"bid" gorm:"column:bid" form:"bid"` Key string `json:"key" form:"key"` Del int8 `json:"del" form:"del"` Ctime time.Time `json:"ctime"` Mtime time.Time `json:"mtime"` }
ActBwsUser def.
type ActBwsUserAchievement ¶
type ActBwsUserAchievement struct { ID int64 `json:"id" form:"id"` MID int64 `json:"mid" gorm:"column:mid" form:"mid"` AID int64 `json:"aid" gorm:"column:aid" form:"aid"` BID int64 `json:"bid" gorm:"column:bid" form:"bid"` Key string `json:"key" form:"key"` Del int8 `json:"del" form:"del"` Ctime time.Time `json:"ctime"` Mtime time.Time `json:"mtime"` }
ActBwsUserAchievement def.
type ActBwsUserPoint ¶
type ActBwsUserPoint struct { ID int64 `json:"id" form:"id"` MID int64 `json:"mid" gorm:"column:mid" form:"mid"` PID int64 `json:"pid" gorm:"column:pid" form:"pid"` BID int64 `json:"bid" gorm:"column:bid" form:"bid"` Key string `json:"key" form:"key"` Points int64 `json:"points" form:"points"` Del int8 `json:"del" form:"del"` Ctime time.Time `json:"ctime"` Mtime time.Time `json:"mtime"` }
ActBwsUserPoint def.
type ActLikeLog ¶
type ActLikeLog struct { ID int64 `json:"id" form:"id" gorm:"column:id"` Lid int64 `json:"lid" form:"lid" gorm:"column:lid"` User string `json:"user" form:"user" gorm:"column:user"` State int64 `json:"state" form:"state" gorm:"column:state"` Ctime xtime.Time `json:"ctime" form:"ctime" gorm:"column:ctime" time_format:"2006-01-02 15:04:05"` Mtime xtime.Time `json:"mtime" form:"mtime" gorm:"column:mtime" time_format:"2006-01-02 15:04:05"` }
ActLikeLog def
type ActMatchs ¶
type ActMatchs struct { ID int64 `json:"id" form:"id"` Name string `json:"name" form:"name"` URL string `json:"url" form:"url"` Cover string `json:"cover" form:"cover"` SID int64 `json:"sid" form:"sid" gorm:"column:sid"` MaxStake int64 `json:"max_stake" form:"max_stake"` Stake int8 `json:"stake" form:"stake"` Status int8 `json:"status" form:"status"` Ctime time.Time `json:"ctime"` Mtime time.Time `json:"mtime"` }
ActMatchs def.
type ActMatchsObject ¶
type ActMatchsObject struct { ID int64 `json:"id" form:"id"` HomeName string `json:"home_name" form:"home_name"` HomeLogo string `json:"home_logo" form:"home_logo"` HomeScore int64 `json:"home_score" form:"home_score"` AwayName string `json:"away_name" form:"away_name"` AwayLogo string `json:"away_logo" form:"away_logo"` AwayScore int64 `json:"away_score" form:"away_score"` SID int64 `json:"sid" gorm:"column:sid" form:"sid"` MatchID int64 `json:"match_id" form:"match_id"` GameStime time.Time `json:"game_stime" form:"game_stime" time_format:"2006-01-02 15:04:05"` Stime time.Time `json:"stime" form:"stime" time_format:"2006-01-02 15:04:05"` Etime time.Time `json:"etime" form:"etime" time_format:"2006-01-02 15:04:05"` Ctime time.Time `json:"ctime"` Mtime time.Time `json:"mtime"` Result int8 `json:"result" form:"result"` Status int8 `json:"status" form:"status"` }
ActMatchsObject def.
func (ActMatchsObject) TableName ¶
func (ActMatchsObject) TableName() string
TableName ActMatchsObject def.
type ActSubject ¶
type ActSubject struct { ID int64 `json:"id,omitempty" form:"id" gorm:"column:id"` Oid int64 `json:"oid,omitempty" form:"oid"` Type int `json:"type,omitempty" form:"type"` State int `json:"state,omitempty" form:"state"` Level int `json:"level,omitempty" form:"level"` Flag int64 `json:"flag,omitempty" form:"flag"` Rank int64 `json:"rank,omitempty" form:"rank"` Stime xtime.Time `json:"stime,omitempty" form:"stime" time_format:"2006-01-02 15:04:05"` Etime xtime.Time `json:"etime,omitempty" form:"etime" time_format:"2006-01-02 15:04:05"` Ctime xtime.Time `json:"ctime,omitempty" form:"ctime" time_format:"2006-01-02 15:04:05"` Mtime xtime.Time `json:"mtime,omitempty" form:"mtime" time_format:"2006-01-02 15:04:05"` Lstime xtime.Time `json:"lstime,omitempty" form:"lstime" time_format:"2006-01-02 15:04:05"` Letime xtime.Time `json:"letime,omitempty" form:"letime" time_format:"2006-01-02 15:04:05"` Uetime xtime.Time `json:"uetime,omitempty" form:"uetime" time_format:"2006-01-02 15:04:05"` Ustime xtime.Time `json:"ustime,omitempty" form:"ustime" time_format:"2006-01-02 15:04:05"` Name string `json:"name,omitempty" form:"name"` Author string `json:"author,omitempty" form:"author"` ActURL string `json:"act_url,omitempty" form:"act_url"` Cover string `json:"cover,omitempty" form:"cover"` Dic string `json:"dic,omitempty" form:"dic"` H5Cover string `json:"h5_cover,omitempty" form:"h5_cover"` LikeLimit int `json:"like_limit" form:"like_limit"` AndroidURL string `json:"android_url"` IosURL string `json:"ios_url"` }
ActSubject def.
type ActSubjectProtocol ¶
type ActSubjectProtocol struct { ID int64 `json:"id" form:"id" gorm:"column:id"` Sid int64 `json:"sid" form:"sid"` Protocol string `json:"protocol" form:"protocol"` Mtime xtime.Time `json:"mtime" form:"mtime" time_format:"2006-01-02 15:04:05"` Ctime xtime.Time `json:"ctime" form:"ctime" time_format:"2006-01-02 15:04:05"` Types string `json:"types" form:"types"` Tags string `json:"tags" form:"tags"` Hot int `json:"hot" form:"hot"` Pubtime xtime.Time `json:"pubtime" form:"pubtime" time_format:"2006-01-02 15:04:05"` Deltime xtime.Time `json:"deltime" form:"deltime" time_format:"2006-01-02 15:04:05"` Editime xtime.Time `json:"editime" form:"editime" time_format:"2006-01-02 15:04:05"` BgmID int64 `json:"bgm_id" form:"bgm_id" gorm:"column:bgm_id"` PasterID int64 `json:"paster_id" form:"paster_id" gorm:"column:paster_id"` Oids string `json:"oids" form:"oids" gorm:"column:oids"` ScreenSet int `json:"screen_set" form:"screen_set" gorm:"column:screen_set"` }
ActSubjectProtocol def
func (ActSubjectProtocol) TableName ¶
func (ActSubjectProtocol) TableName() string
TableName ActSubjectProtocol def
type ActSubjectResult ¶
type ActSubjectResult struct { *ActSubject Aids []int64 `json:"aids,omitempty"` }
ActSubjectResult .
type ActTimeConfig ¶
type ActTimeConfig struct { ID int64 `json:"id" form:"id" gorm:"column:id"` Sid int64 `json:"sid" form:"sid"` Interval int `json:"interval" form:"interval"` Ctime xtime.Time `json:"ctime" form:"ctime" time_format:"2006-01-02 15:04:05"` Mtime xtime.Time `json:"mtime" form:"mtime" time_format:"2006-01-02 15:04:05"` Tlimit int `json:"tlimit" form:"tlimit"` Ltime int `json:"ltime" form:"ltime"` }
ActTimeConfig def
func (ActTimeConfig) TableName ¶
func (ActTimeConfig) TableName() string
TableName ActTimeConfig def
type ActivityAVInfo ¶
type ActivityAVInfo struct { ActivityID int64 `json:"mission_id"` AVID int64 `json:"id"` MID int64 `json:"mid"` Category int `json:"typeid"` TagID int64 `json:"-"` Ratio int `json:"-"` }
ActivityAVInfo active_id -> avid
type AddLikes ¶
type AddLikes struct { DealType string `form:"deal_type" validate:"required"` Wid int64 `form:"wid"` Sid int64 `form:"sid" validate:"min=1"` Type int `form:"type"` Mid int64 `form:"mid"` State int `form:"state"` Plat int `form:"plat"` Device int `form:"device"` }
AddLikes .
type AddList ¶
type AddList struct { ActSubject Protocol string `form:"protocol"` Types string `form:"types"` Pubtime xtime.Time `form:"pubtime" time_format:"2006-01-02 15:04:05"` Deltime xtime.Time `form:"deltime" time_format:"2006-01-02 15:04:05"` Editime xtime.Time `form:"editime" time_format:"2006-01-02 15:04:05"` Tags string `form:"tags"` Interval int `form:"interval"` Tlimit int `form:"tlimit"` Ltime int `form:"ltime"` Hot int `form:"hot"` BgmID int64 `form:"bgm_id"` PasterID int64 `form:"paster_id"` Oids string `from:"oids"` ScreenSet int `form:"screen_set" default:"1"` }
AddList def
type AddPic ¶
type AddPic struct { Sid int64 `form:"sid" validate:"min=1"` Type int `form:"type"` Mid int64 `form:"mid"` Wid int64 `form:"wid"` Plat int `form:"plat"` Device int `form:"device"` Image string `form:"image"` Message string `form:"message" validate:"required,max=450,min=1"` Link string `form:"link"` }
AddPic .
type ArchiveParam ¶
type ArchiveParam struct {
Aids []int64 `json:"aids" form:"aids,split" validate:"min=1,max=30,dive,gt=0"`
}
ArchiveParam .
type BatchLike ¶
type BatchLike struct { Sid int64 `form:"sid" validate:"min=1"` Wid []int64 `form:"wid,split" validate:"min=1,max=200,dive,gt=0"` Mid int64 `form:"mid"` Type int `form:"type"` }
BatchLike .
type Like ¶
type Like struct { ID int64 `json:"id" form:"id" gorm:"column:id"` Sid int64 `json:"sid" form:"sid"` Type int `json:"type" form:"type"` Mid int64 `json:"mid" form:"mid"` Wid int64 `json:"wid" form:"wid"` State int `json:"state" form:"state"` StickTop int `json:"stick_top" form:"stick_top"` Ctime xtime.Time `json:"ctime" form:"ctime" time_format:"2006-01-02 15:04:05"` Mtime xtime.Time `json:"mtime" form:"mtime" time_format:"2006-01-02 15:04:05"` Object interface{} `json:"object,omiempty" gorm:"-"` Like int64 `json:"like,omiempty" gorm:"-"` }
Like def.
type LikeAction ¶
type LikeAction struct { ID int64 `form:"id" gorm:"column:id"` Lid int64 `form:"lid"` Mid int64 `form:"mid"` Action int64 `form:"action"` Ctime xtime.Time `form:"ctime" time_format:"2006-01-02 15:04:05"` Mtime xtime.Time `form:"mtime" time_format:"2006-01-02 15:04:05"` Sid int64 `form:"sid"` IP int64 `form:"ip" gorm:"column:ip"` }
LikeAction def
type LikeContent ¶
type LikeContent struct { ID int64 `json:"id" form:"id" gorm:"column:id"` Message string `json:"message" form:"message"` IP int64 `json:"ip" form:"ip" gorm:"column:ip"` Plat int `json:"plat" form:"plat"` Device int `json:"device" form:"device"` Ctime xtime.Time `json:"ctime" form:"ctime" time_format:"2006-01-02 15:04:05"` Mtime xtime.Time `json:"mtime" form:"mtime" time_format:"2006-01-02 15:04:05"` Image string `json:"image" form:"image"` Reply string `json:"reply" form:"reply"` Link string `json:"link" form:"link"` ExName string `json:"ex_name" form:"ex_name"` IPv6 []byte `json:"ipv6" gorm:"column:ipv6"` }
LikeContent def
type LikesParam ¶
type LikesParam struct { Sid int64 `form:"sid" validate:"min=1"` Mid int64 `form:"mid"` Wid int64 `form:"wid"` Page int `form:"page" default:"1" validate:"min=1"` PageSize int `form:"pagesize" default:"15" validate:"min=1"` States []int `form:"state,split"` }
LikesParam def.
type ListSub ¶
type ListSub struct { Page int `form:"page" default:"1" validate:"min=1"` PageSize int `form:"pagesize" default:"15" validate:"min=1"` Keyword string `form:"keyword"` States []int `form:"state,split" default:"0"` Types []int `form:"type,split" default:"0"` Sctime int64 `form:"sctime"` Ectime int64 `form:"ectime"` }
ListSub def
type MusicRes ¶
type MusicRes struct { Code int `json:"code"` Data map[int64]struct { CoverURL string `json:"coverUrl"` Duration string `json:"duration"` Categorie string `json:"categorie"` Intro string `json:"intro"` Mid int64 `json:"mid"` Title string `json:"title"` SongID int64 `json:"songId"` PlayURL []string `json:"playUrl"` } }
MusicRes .
type SidSub ¶
type SidSub struct { Type int `form:"type" validate:"required"` Lids []int64 `form:"lids,split" validate:"max=50,min=1,dive,min=1"` }
SidSub def
type SubListRes ¶
type SubListRes struct { List []*ActSubject `json:"list"` Page *PageRes `json:"page"` }
SubListRes .
type UpLike ¶
type UpLike struct { Type int `form:"type"` Mid int64 `form:"mid"` Wid int64 `form:"wid"` State int `form:"state"` StickTop int `form:"stick_top"` Lid int64 `form:"lid" validate:"min=1"` Message string `form:"message"` Reply string `form:"reply"` Link string `form:"link"` Image string `form:"image"` }
UpLike .
Click to show internal directories.
Click to hide internal directories.