diff --git a/order/afterSale.go b/order/afterSale.go index 0374b74..935638d 100644 --- a/order/afterSale.go +++ b/order/afterSale.go @@ -167,7 +167,7 @@ type afsServiceDetailParam struct { AfsServiceId uint64 `json:"afsServiceId"` // 售后id Pin string `json:"pin"` // 下单账号 } -type resInfo struct { +type AfterSaleInfo struct { ProcessResult uint `json:"processResult"` // 处理结果 CustomerName string `json:"customerName"` // 客户名称 ApplyReasonId uint `json:"applyReasonId"` // 售后原因id @@ -207,7 +207,7 @@ type skuItem struct { } // Info @Title 售后详情 -func (a *AfterSale) Info(afsServiceId uint64) (result resInfo, err error) { +func (a *AfterSale) Info(afsServiceId uint64) (result AfterSaleInfo, err error) { err = request.ExecCtlProtocol(afterSaleInfo, afsServiceDetailParam{ AfsServiceId: afsServiceId, Pin: config.SdkConfig.Pin,