From b5271cbeac15d4a9cb0536b00f3272d516d21262 Mon Sep 17 00:00:00 2001 From: sian Date: Wed, 19 Oct 2022 13:45:55 +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 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/supply/afterService.go b/supply/afterService.go index aac108f..433e745 100644 --- a/supply/afterService.go +++ b/supply/afterService.go @@ -141,3 +141,20 @@ func (a *afterService) Detail(ctx context.Context, afsSn string) (reply ReplyAft err = xClient.Call(ctx, "Detail", afsSn, &reply) return } + +type ReplyAfterServiceLogisticsAddress struct { + Name string `json:"name"` // 姓名 + Mobile string `json:"mobile"` // 手机号 + ZipCode string `json:"zipCode"` // 邮编 + Address string `json:"address"` // 地址 +} + +// LogisticsAddress @Title 售后详情 +func (a *afterService) LogisticsAddress(ctx context.Context, afsSn string) (reply ReplyAfterServiceLogisticsAddress, err error) { + xClient, err := client.GetClient(a) + if err != nil { + return + } + err = xClient.Call(ctx, "LogisticsAddress", afsSn, &reply) + return +}