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 }