From 2bd797dfbd894b83183dbc77b1f894ab62d7db7f Mon Sep 17 00:00:00 2001 From: sian Date: Sat, 8 Oct 2022 14:23:31 +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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/supply/afterService.go b/supply/afterService.go index c0f6b25..55f2f14 100644 --- a/supply/afterService.go +++ b/supply/afterService.go @@ -6,6 +6,10 @@ import ( "git.oa00.com/supply-chain/service/lib/bean" ) +const ( +//售后状态 1=售后申请中 2=客户发货 3=收货处理中 4=售后完成 5=售后关闭 +) + type afterService struct { } @@ -42,12 +46,12 @@ type ReplyRetailHistory struct { Total int64 `json:"total"` } -// RetailHistory @Title 零售订单售后记录 -func (a *afterService) RetailHistory(ctx context.Context, args ArgsRetailHistory) (reply ReplyRetailHistory, err error) { +// RetailAfsHistory @Title 零售订单售后记录 +func (a *afterService) RetailAfsHistory(ctx context.Context, args ArgsRetailHistory) (reply ReplyRetailHistory, err error) { xClient, err := client.GetClient(a) if err != nil { return ReplyRetailHistory{}, err } - err = xClient.Call(ctx, "RetailAfsLists", args, &reply) + err = xClient.Call(ctx, "RetailAfsHistory", args, &reply) return }