修改批发商品搜索

finance
黄伟 2 years ago
parent a6864087b0
commit 77a16f04c0

@ -27,6 +27,9 @@ type ArgsSkuList struct {
Search SkuSearch
Page bean.Page
}
type SkuItemHighlight struct {
Name string `json:"name"`
}
type SkuItem struct {
Id uint `json:"id"`
@ -61,6 +64,7 @@ type SkuItem struct {
InitialFreight decimal.Decimal `json:"initialFreight"` // 起批运费
CreatedAt int64 `json:"createdAt"`
UpdatedAt int64 `json:"updatedAt"`
Highlight SkuItemHighlight `json:"highlight"`
}
type ReplySkuList struct {
@ -112,8 +116,13 @@ type CustomerSearch struct {
BrandName string
}
type SkuEsConfig struct {
Highlight bool
}
type ArgsSkuListsEs struct {
Search SkuEsSearch
Config SkuEsConfig
Page bean.Page
}

Loading…
Cancel
Save