master v1.0.0
杨赟 2 years ago
parent 930cafc1e2
commit f031f931a6

@ -167,7 +167,7 @@ type afsServiceDetailParam struct {
AfsServiceId uint64 `json:"afsServiceId"` // 售后id AfsServiceId uint64 `json:"afsServiceId"` // 售后id
Pin string `json:"pin"` // 下单账号 Pin string `json:"pin"` // 下单账号
} }
type resInfo struct { type AfterSaleInfo struct {
ProcessResult uint `json:"processResult"` // 处理结果 ProcessResult uint `json:"processResult"` // 处理结果
CustomerName string `json:"customerName"` // 客户名称 CustomerName string `json:"customerName"` // 客户名称
ApplyReasonId uint `json:"applyReasonId"` // 售后原因id ApplyReasonId uint `json:"applyReasonId"` // 售后原因id
@ -207,7 +207,7 @@ type skuItem struct {
} }
// Info @Title 售后详情 // 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{ err = request.ExecCtlProtocol(afterSaleInfo, afsServiceDetailParam{
AfsServiceId: afsServiceId, AfsServiceId: afsServiceId,
Pin: config.SdkConfig.Pin, Pin: config.SdkConfig.Pin,

Loading…
Cancel
Save