Documentation ¶
Index ¶
- func AddFav(biddingID string, userID string) error
- func CategoryListBidding(userID string) (map[string]interface{}, error)
- func ClearSearchHis(userID string) error
- func Destroy()
- func DetailBidding(id string, userID string) (map[string]interface{}, error)
- func HotListBidding(userID string) (map[string]interface{}, error)
- func HotWordsBidding(userID string) (map[string]interface{}, error)
- func Init(baseUrl string, timeoutSec time.Duration)
- func IsEnableFullSearch() (map[string]interface{}, error)
- func ListBidding(category string, userID string, pageNo int, pageSize int) (map[string]interface{}, error)
- func RmFav(biddingID string, userID string) error
- func SearchBidding(category string, keyword string, userID string, pageNo int, pageSize int) (map[string]interface{}, error)
- func SearchFulltextBidding(category string, keyword string, userID string, pageNo int, pageSize int) (map[string]interface{}, error)
- func SearchScreenBidding(query *SearchScreenBiddingQuery) (map[string]interface{}, error)
- type BiddingResponse
- type DetailBiddingQuery
- type FavInfo
- type FootprintInfo
- type GetFavResponse
- type GetFootprintsResponse
- type GetSearchHisResponse
- type ListBiddingQuery
- type SearchBiddingQuery
- type SearchFulltextBiddingQuery
- type SearchHisInfo
- type SearchScreenBiddingQuery
- type UserBiddingReq
- type UserQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CategoryListBidding ¶
func ClearSearchHis ¶
func HotListBidding ¶
func HotWordsBidding ¶
func IsEnableFullSearch ¶
func ListBidding ¶
func SearchBidding ¶
func SearchFulltextBidding ¶
func SearchScreenBidding ¶
func SearchScreenBidding(query *SearchScreenBiddingQuery) (map[string]interface{}, error)
Types ¶
type BiddingResponse ¶
type BiddingResponse struct { Data map[string]interface{} `json:"data"` // contains filtered or unexported fields }
type DetailBiddingQuery ¶
type FavInfo ¶
type FootprintInfo ¶
type FootprintInfo struct { ID string `json:"id"` UserID string `json:"userId"` BiddingID string `json:"biddingId"` Title string `json:"title"` Category string `json:"category"` PublishDate string `json:"publishTime"` District string `json:"district"` Pathname string `json:"pathname"` }
func GetFootprint ¶
type GetFavResponse ¶
type GetFootprintsResponse ¶
type GetFootprintsResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []FootprintInfo `json:"infos"` // contains filtered or unexported fields }
type GetSearchHisResponse ¶
type GetSearchHisResponse struct { Infos []SearchHisInfo `json:"infos"` // contains filtered or unexported fields }
type ListBiddingQuery ¶
type SearchBiddingQuery ¶
type SearchHisInfo ¶
type SearchHisInfo struct { ID string `json:"id"` UserID string `json:"userId"` Keyword string `json:"keyword"` SearchType uint8 `json:"searchType"` }
func GetSearchHis ¶
func GetSearchHis(userID string) ([]SearchHisInfo, error)
type UserBiddingReq ¶
Click to show internal directories.
Click to hide internal directories.