Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //NotDelete not delete NotDelete uint8 //Delete delete Delete uint8 = 1 //Business log business ID Business = 202 //ActionAddBlack log action ActionAddBlack = "ActionAddBlack" //ActionDelBlack log action ActionDelBlack = "ActionDelBlack" //ActionAddInter log action ActionAddInter = "ActionAddInter" //ActionUpdateInter log action ActionUpdateInter = "ActionUpdateInter" //ActionUpdateSearch log action ActionUpdateSearch = "ActionUpdateSearch" //ActionPublishHot log action ActionPublishHot = "ActionPublishHot" //ActionPublishDark log action ActionPublishDark = "ActionPublishDark" //ActionOpenAddHot log action ActionOpenAddHot = "ActionOpenAddHot" //ActionDeleteHot delete hot word ActionDeleteHot = "ActionDeleteHot" //ActionOpenAddDark log action ActionOpenAddDark = "ActionOpenAddDark" //ActionDeleteDark action delete darkword ActionDeleteDark = "ActionDeleteDark" //HotAI hot word from AI HotAI uint8 = 1 //HotOpe hot word from operate HotOpe uint8 = 2 )
Functions ¶
This section is empty.
Types ¶
type AddBlack ¶
type AddBlack struct {
Searchword string `json:"searchword" form:"searchword" validate:"required"`
}
AddBlack add search Black
type Black ¶
type Black struct { Searchword string `json:"searchword" form:"searchword" validate:"required"` ID int `json:"id"` Deleted uint8 `json:"deleted"` }
Black search Black
type Dark ¶
type Dark struct { ID uint `json:"id"` Searchword string `json:"searchword" form:"searchword"` PV int64 `json:"pv" form:"pv"` Atime string `json:"atime"` Deleted uint8 `json:"deleted"` }
Dark search dark list
type DarkPubLog ¶
type DarkPubLog struct { ID uint `json:"id"` Searchword string `json:"searchword" form:"searchword"` Pv int64 `json:"pv" form:"pv"` Atime string `json:"atime"` Groupid int64 `json:"groupid"` }
DarkPubLog dark publish log
func (DarkPubLog) TableName ¶
func (a DarkPubLog) TableName() string
TableName DarkPubLog dark word publish log
type DarkwordOut ¶
DarkwordOut hotword out put with publish state
type History ¶
type History struct { ID int `json:"id" form:"id"` Searchword string `json:"searchword"` Pv int `json:"pv"` Position int `json:"position"` Atime string `json:"atime"` Tag string `json:"tag"` Deleted uint8 `json:"deleted"` }
History search History
type Hot ¶
type Hot struct { ID uint `json:"-"` Searchword string `json:"searchword"` PV int64 `json:"pv"` Atime string }
Hot search history from ai and search words
type HotPubLog ¶
type HotPubLog struct { ID int `json:"id" form:"id"` Searchword string `json:"searchword" form:"searchword"` Position int `json:"position" form:"position"` Pv int `json:"pv"` Tag string `json:"tag" form:"tag"` Stime time.Time `json:"stime" form:"stime"` Etime time.Time `json:"etime" form:"etime"` Atime string `json:"atime"` Groupid int64 `json:"groupid"` }
HotPubLog hotword publish log
type HotwordOut ¶
HotwordOut hotword out put with publish state
type Intervene ¶
type Intervene struct { ID int `json:"id" form:"id"` Searchword string `json:"searchword" form:"searchword"` Rank int `json:"position" form:"position"` Pv int `json:"pv"` Tag string `json:"tag" form:"tag"` Stime time.Time `json:"stime" form:"stime"` Etime time.Time `json:"etime" form:"etime"` Deleted uint8 `json:"deleted"` }
Intervene search intervene word
type InterveneAdd ¶
type InterveneAdd struct { ID int `json:"id" form:"id"` Searchword string `json:"searchword" form:"searchword"` Rank int `json:"position" form:"position"` Tag string `json:"tag" form:"tag"` Stime time.Time `json:"stime" form:"stime"` Etime time.Time `json:"etime" form:"etime"` }
InterveneAdd add search intervene word
func (InterveneAdd) TableName ¶
func (a InterveneAdd) TableName() string
TableName InterveneAdd search_intervene
type PublishState ¶
PublishState hot word publish state
Click to show internal directories.
Click to hide internal directories.