From cfbf724f2f76220e4b5e0838ec295b5515363762 Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 2 Feb 2023 14:37:09 +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/afterService.go | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/supply/afterService.go b/supply/afterService.go index fd07646..89838bf 100644 --- a/supply/afterService.go +++ b/supply/afterService.go @@ -291,3 +291,22 @@ func (a *afterService) FindByAfsId(ctx context.Context, afsId uint) (reply Reply err = xClient.Call(ctx, "FindByAfsId", afsId, &reply) return } + +type ReplySourceSkuIdsAfsInfos struct { + SourceId uint // 供应商Id + SourceName string // 供应商名称 + ChannelId uint // 客户Id + SkuId uint // 沙马skuId + HopeTypeName string // 期望售后类型 + TypeReasonName string // 售后原因 +} + +// FindBySourceSkuIdsAfsInfos @Title 根据sourceSkuId查询售后信息 +func (a *afterService) FindBySourceSkuIdsAfsInfos(ctx context.Context, sourceSkuIds []uint) (reply []ReplySourceSkuIdsAfsInfos, err error) { + xClient, err := client.GetClient(a) + if err != nil { + return + } + err = xClient.Call(ctx, "FindBySourceSkuIdsAfsInfos", sourceSkuIds, &reply) + return +}