|
|
@ -27,40 +27,44 @@ 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"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
BrandId uint `json:"brandId"`
|
|
|
|
BrandId uint `json:"brandId"`
|
|
|
|
BrandName string `json:"brandName"`
|
|
|
|
BrandName string `json:"brandName"`
|
|
|
|
FirstCategoryId uint `json:"firstCategoryId"`
|
|
|
|
FirstCategoryId uint `json:"firstCategoryId"`
|
|
|
|
FirstCategoryName string `json:"firstCategoryName"`
|
|
|
|
FirstCategoryName string `json:"firstCategoryName"`
|
|
|
|
SecondCategoryId uint `json:"secondCategoryId"`
|
|
|
|
SecondCategoryId uint `json:"secondCategoryId"`
|
|
|
|
SecondCategoryName string `json:"secondCategoryName"`
|
|
|
|
SecondCategoryName string `json:"secondCategoryName"`
|
|
|
|
ThirdCategoryId uint `json:"thirdCategoryId"`
|
|
|
|
ThirdCategoryId uint `json:"thirdCategoryId"`
|
|
|
|
ThirdCategoryName string `json:"thirdCategoryName"`
|
|
|
|
ThirdCategoryName string `json:"thirdCategoryName"`
|
|
|
|
Price decimal.Decimal `json:"price"`
|
|
|
|
Price decimal.Decimal `json:"price"`
|
|
|
|
Discount decimal.Decimal `json:"discount"`
|
|
|
|
Discount decimal.Decimal `json:"discount"`
|
|
|
|
GuidePrice decimal.Decimal `json:"guidePrice"`
|
|
|
|
GuidePrice decimal.Decimal `json:"guidePrice"`
|
|
|
|
ImgUrl string `json:"imgUrl"`
|
|
|
|
ImgUrl string `json:"imgUrl"`
|
|
|
|
Profit decimal.Decimal `json:"profit"`
|
|
|
|
Profit decimal.Decimal `json:"profit"`
|
|
|
|
Size string `json:"size"`
|
|
|
|
Size string `json:"size"`
|
|
|
|
Color string `json:"color"`
|
|
|
|
Color string `json:"color"`
|
|
|
|
Tax string `json:"tax"`
|
|
|
|
Tax string `json:"tax"`
|
|
|
|
Unit string `json:"unit"`
|
|
|
|
Unit string `json:"unit"`
|
|
|
|
UpcCode string `json:"upcCode"`
|
|
|
|
UpcCode string `json:"upcCode"`
|
|
|
|
TaxName string `json:"taxName"`
|
|
|
|
TaxName string `json:"taxName"`
|
|
|
|
TaxCode string `json:"taxCode"`
|
|
|
|
TaxCode string `json:"taxCode"`
|
|
|
|
Status uint `json:"status"`
|
|
|
|
Status uint `json:"status"`
|
|
|
|
Length decimal.Decimal `json:"length"` // 长
|
|
|
|
Length decimal.Decimal `json:"length"` // 长
|
|
|
|
Width decimal.Decimal `json:"width"` // 宽
|
|
|
|
Width decimal.Decimal `json:"width"` // 宽
|
|
|
|
Height decimal.Decimal `json:"height"` // 高
|
|
|
|
Height decimal.Decimal `json:"height"` // 高
|
|
|
|
Weight decimal.Decimal `json:"weight"` // 重
|
|
|
|
Weight decimal.Decimal `json:"weight"` // 重
|
|
|
|
PackingRate uint `json:"packingRate"` // 装箱率
|
|
|
|
PackingRate uint `json:"packingRate"` // 装箱率
|
|
|
|
StartingBatch uint `json:"startingBatch"` // 起批量
|
|
|
|
StartingBatch uint `json:"startingBatch"` // 起批量
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|