From 30fa5acc3ea019c8ade8c78facc33e19c3904ba2 Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 30 Dec 2022 10:09:43 +0800 Subject: [PATCH 1/4] =?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/skuAudit.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/supply/skuAudit.go b/supply/skuAudit.go index a041e55..6ab7a1b 100644 --- a/supply/skuAudit.go +++ b/supply/skuAudit.go @@ -73,6 +73,16 @@ func (s *skuAudit) Lists(ctx context.Context, args ArgsSkuAuditLists) (reply Rep return } +// InfoEs @Title 审核详情 +func (s *skuAudit) InfoEs(ctx context.Context, skuId uint) (reply SkuAndAuditItem, err error) { + xClient, err := client.GetClient(s) + if err != nil { + return + } + err = xClient.Call(ctx, "InfoEs", skuId, &reply) + return +} + // ListsEs @Title 审核列表 func (s *skuAudit) ListsEs(ctx context.Context, args ArgsSkuAuditEsLists) (reply ReplySkuAuditLists, err error) { xClient, err := client.GetClient(s) From 12d628c0dafbd3898add7acc9147bda8313cbe45 Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 30 Dec 2022 10:38:38 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wholesale/skuAudit.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wholesale/skuAudit.go b/wholesale/skuAudit.go index 20a21f6..638152c 100644 --- a/wholesale/skuAudit.go +++ b/wholesale/skuAudit.go @@ -79,6 +79,16 @@ func (s *skuAudit) Lists(ctx context.Context, args ArgsSkuAuditLists) (reply Rep return } +// InfoEs @Title 审核详情 +func (s *skuAudit) InfoEs(ctx context.Context, skuId uint) (reply SkuAndAuditItem, err error) { + xClient, err := client.GetClient(s) + if err != nil { + return + } + err = xClient.Call(ctx, "InfoEs", skuId, &reply) + return +} + // ListsEs @Title 审核列表 func (s *skuAudit) ListsEs(ctx context.Context, args ArgsSkuAuditEsLists) (reply ReplySkuAuditLists, err error) { xClient, err := client.GetClient(s) From b544bb4f2b1557881fcd25b258f44a6332aa2097 Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 5 Jan 2023 10:05:13 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wholesale/order.go | 1 + 1 file changed, 1 insertion(+) diff --git a/wholesale/order.go b/wholesale/order.go index 2010712..eb5575e 100644 --- a/wholesale/order.go +++ b/wholesale/order.go @@ -193,6 +193,7 @@ type OrderSkuItem struct { SkuId uint SourceSkuId string Price decimal.Decimal + SupplyPrice decimal.Decimal AdjustType uint AdjustPrice decimal.Decimal Rate decimal.Decimal From f88ec439daefc3c18b9ed3e8321baa43cc2ccdc5 Mon Sep 17 00:00:00 2001 From: kanade Date: Thu, 5 Jan 2023 14:10:19 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BF=94=E5=9B=9E=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- otosaas/commodity.go | 1 + 1 file changed, 1 insertion(+) diff --git a/otosaas/commodity.go b/otosaas/commodity.go index 9fa03b8..ad76ff0 100644 --- a/otosaas/commodity.go +++ b/otosaas/commodity.go @@ -85,6 +85,7 @@ type ReplyCommodityInfo struct { Status uint `json:"status"` Skus []SkuItem `json:"skus"` Imgs []CommodityImgItem `json:"imgs"` + Content string `json:"content"` } type CommodityImgItem struct {