|
|
@ -28,6 +28,9 @@ type ArgsSkuList struct {
|
|
|
|
Page bean.Page
|
|
|
|
Page bean.Page
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type SkuItemHighlight struct {
|
|
|
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
|
|
|
}
|
|
|
|
type SkuItem struct {
|
|
|
|
type SkuItem struct {
|
|
|
|
Id uint `json:"id"`
|
|
|
|
Id uint `json:"id"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Name string `json:"name"`
|
|
|
@ -54,6 +57,7 @@ type SkuItem struct {
|
|
|
|
Status uint `json:"status"`
|
|
|
|
Status uint `json:"status"`
|
|
|
|
CreatedAt int64 `json:"createdAt"`
|
|
|
|
CreatedAt int64 `json:"createdAt"`
|
|
|
|
UpdatedAt int64 `json:"updatedAt"`
|
|
|
|
UpdatedAt int64 `json:"updatedAt"`
|
|
|
|
|
|
|
|
Highlight SkuItemHighlight `json:"highlight"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ReplySkuList struct {
|
|
|
|
type ReplySkuList struct {
|
|
|
@ -98,8 +102,12 @@ type SkuEsSearch struct {
|
|
|
|
OrderType uint // 排序类型
|
|
|
|
OrderType uint // 排序类型
|
|
|
|
OrderSort uint // 排序顺序
|
|
|
|
OrderSort uint // 排序顺序
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
type SkuEsConfig struct {
|
|
|
|
|
|
|
|
Highlight bool
|
|
|
|
|
|
|
|
}
|
|
|
|
type ArgsSkuListsEs struct {
|
|
|
|
type ArgsSkuListsEs struct {
|
|
|
|
Search SkuEsSearch
|
|
|
|
Search SkuEsSearch
|
|
|
|
|
|
|
|
Config SkuEsConfig
|
|
|
|
Page bean.Page
|
|
|
|
Page bean.Page
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|