|
|
@ -11,6 +11,14 @@ import (
|
|
|
|
type sku struct {
|
|
|
|
type sku struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
|
|
|
SkuOrderTypePrice = 1 // 价格排序
|
|
|
|
|
|
|
|
SkuOrderTypeDiscount = 2 // 价格折扣
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SkuOrderSortUp = 1 // 升序
|
|
|
|
|
|
|
|
SkuOrderSortDown = 2 // 降序
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
type SkuSearch struct {
|
|
|
|
type SkuSearch struct {
|
|
|
|
Status uint // 1=上架 2=下架
|
|
|
|
Status uint // 1=上架 2=下架
|
|
|
|
SkuName string // 商品名称
|
|
|
|
SkuName string // 商品名称
|
|
|
@ -85,6 +93,9 @@ type SkuEsSearch struct {
|
|
|
|
MaxGuidePrice decimal.Decimal // 市场参考价
|
|
|
|
MaxGuidePrice decimal.Decimal // 市场参考价
|
|
|
|
Source uint // 所属供应商
|
|
|
|
Source uint // 所属供应商
|
|
|
|
ThirdCategoryIds []uint // 三级分类Ids
|
|
|
|
ThirdCategoryIds []uint // 三级分类Ids
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OrderType uint // 排序类型
|
|
|
|
|
|
|
|
OrderSort uint // 排序顺序
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type ArgsSkuListsEs struct {
|
|
|
|
type ArgsSkuListsEs struct {
|
|
|
|
Search SkuEsSearch
|
|
|
|
Search SkuEsSearch
|
|
|
|