From 965d9cfffe535ad6a911a93348490d9260e0880b Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 9 Dec 2022 11:00:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/channel/sku.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/supply/channel/sku.go b/supply/channel/sku.go index 533ee30..deb1780 100644 --- a/supply/channel/sku.go +++ b/supply/channel/sku.go @@ -80,12 +80,19 @@ type SkuEsSearch struct { MinDiscount decimal.Decimal // 最低折扣 MaxDiscount decimal.Decimal // 最高折扣 Expand []map[string]interface{} // 拓展查询 + CustomerSearch CustomerSearch // 客户系统的搜索条件 } type ArgsSkuListsEs struct { Search SkuEsSearch Page bean.Page } +type CustomerSearch struct { + SkuName string + SkuId uint + BrandName string +} + // ListsEs @Title es商品列表 目前最大10000条数据,超出不显示 func (s *sku) ListsEs(ctx context.Context, channelId string, args ArgsSkuListsEs) (reply ReplySkuList, err error) { xClient, err := client.GetClient(s)