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