修改批发商品搜索

finance
黄伟 2 years ago
parent a6864087b0
commit 77a16f04c0

@ -27,6 +27,9 @@ type ArgsSkuList struct {
Search SkuSearch Search SkuSearch
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"`
@ -61,6 +64,7 @@ type SkuItem struct {
InitialFreight decimal.Decimal `json:"initialFreight"` // 起批运费 InitialFreight decimal.Decimal `json:"initialFreight"` // 起批运费
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 {
@ -112,8 +116,13 @@ type CustomerSearch struct {
BrandName string BrandName string
} }
type SkuEsConfig struct {
Highlight bool
}
type ArgsSkuListsEs struct { type ArgsSkuListsEs struct {
Search SkuEsSearch Search SkuEsSearch
Config SkuEsConfig
Page bean.Page Page bean.Page
} }

Loading…
Cancel
Save