finance
黄伟 2 years ago
parent b06dc56856
commit 965d9cfffe

@ -80,12 +80,19 @@ type SkuEsSearch struct {
MinDiscount decimal.Decimal // 最低折扣 MinDiscount decimal.Decimal // 最低折扣
MaxDiscount decimal.Decimal // 最高折扣 MaxDiscount decimal.Decimal // 最高折扣
Expand []map[string]interface{} // 拓展查询 Expand []map[string]interface{} // 拓展查询
CustomerSearch CustomerSearch // 客户系统的搜索条件
} }
type ArgsSkuListsEs struct { type ArgsSkuListsEs struct {
Search SkuEsSearch Search SkuEsSearch
Page bean.Page Page bean.Page
} }
type CustomerSearch struct {
SkuName string
SkuId uint
BrandName string
}
// ListsEs @Title es商品列表 目前最大10000条数据超出不显示 // ListsEs @Title es商品列表 目前最大10000条数据超出不显示
func (s *sku) ListsEs(ctx context.Context, channelId string, args ArgsSkuListsEs) (reply ReplySkuList, err error) { func (s *sku) ListsEs(ctx context.Context, channelId string, args ArgsSkuListsEs) (reply ReplySkuList, err error) {
xClient, err := client.GetClient(s) xClient, err := client.GetClient(s)

Loading…
Cancel
Save