diff --git a/supply/afterService.go b/supply/afterService.go index cb0a898..1a52350 100644 --- a/supply/afterService.go +++ b/supply/afterService.go @@ -61,7 +61,7 @@ func (a *afterService) RetailAfsHistory(ctx context.Context, args ArgsRetailHist type ArgsAfterServiceDeliver struct { SourceAfsSn string `json:"sourceAfsSn"` SourceSkuId string `json:"sourceSkuId"` - SourceOrderSN string `json:"sourceOrderSN"` + SourceOrderSn string `json:"sourceOrderSn"` } // Deliver @Title 需要发货 @@ -121,7 +121,7 @@ type ArgsAfterServiceRefund struct { } // Refund @Title 退款 -func (a *afterService) Refund(ctx context.Context, args ArgsAfterServiceClose) (err error) { +func (a *afterService) Refund(ctx context.Context, args ArgsAfterServiceRefund) (err error) { xClient, err := client.GetClient(a) if err != nil { return err @@ -132,12 +132,12 @@ func (a *afterService) Refund(ctx context.Context, args ArgsAfterServiceClose) ( } type ArgsAfterServiceNewOrder struct { - Source source `json:"source"` - SourceAfsSn string `json:"sourceAfsSn"` - SourceSkuId string `json:"sourceSkuId"` - SourceOrderSn string `json:"sourceOrderSn"` - Result string `json:"result"` - NewSourceOrderSn decimal.Decimal `json:"newSourceOrderSn"` + Source source `json:"source"` + SourceAfsSn string `json:"sourceAfsSn"` + SourceSkuId string `json:"sourceSkuId"` + SourceOrderSn string `json:"sourceOrderSn"` + Result string `json:"result"` + NewSourceOrderSn string `json:"newSourceOrderSn"` } // NewOrder @Title 新订单