|
|
|
@ -263,3 +263,28 @@ func (a *afterService) LogisticsAddress(ctx context.Context, afsSn string) (repl
|
|
|
|
|
err = xClient.Call(ctx, "LogisticsAddress", afsSn, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ReplyAfsInfoById struct {
|
|
|
|
|
Id uint `json:"id"`
|
|
|
|
|
AfsSn string `json:"afsSn"`
|
|
|
|
|
SourceAfsSn string `json:"sourceAfsSn"`
|
|
|
|
|
SkuId uint `json:"skuId"`
|
|
|
|
|
SourceSkuId string `json:"sourceSkuId"`
|
|
|
|
|
SourceId uint `json:"sourceId"`
|
|
|
|
|
OrderSn string `json:"orderSn"`
|
|
|
|
|
ChannelOrderSn string `json:"ChannelOrderSn"`
|
|
|
|
|
OrderFee decimal.Decimal `json:"orderFee"`
|
|
|
|
|
SourceOrderFee decimal.Decimal `json:"sourceOrderFee"`
|
|
|
|
|
FreightFee decimal.Decimal `json:"freightFee"`
|
|
|
|
|
ApproveNotes string `json:"approveNotes"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// FindByAfsId @Title 获取售后信息
|
|
|
|
|
func (a *afterService) FindByAfsId(ctx context.Context, afsId uint) (reply ReplyAfsInfoById, err error) {
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
err = xClient.Call(ctx, "FindByAfsId", afsId, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|