|
|
|
@ -24,6 +24,8 @@ const (
|
|
|
|
|
ErrorAfterServiceCloseError Error = 11018 // 售后已关闭
|
|
|
|
|
ErrorAfterServiceFinishError Error = 11019 // 售后已完成
|
|
|
|
|
ErrorOrderCancelError Error = 11020 // 订单取消失败
|
|
|
|
|
ErrorAfterServiceLogisticsAddressError Error = 11021 // 售后寄回地址获取失败
|
|
|
|
|
ErrorAfterServiceLogisticsAddressReturnError Error = 11022 // 售后寄回地址已回传
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
var ErrorCodes = map[Error]string{
|
|
|
|
@ -47,6 +49,8 @@ var ErrorCodes = map[Error]string{
|
|
|
|
|
ErrorAfterServiceCloseError: "售后已关闭",
|
|
|
|
|
ErrorAfterServiceFinishError: "售后已完成",
|
|
|
|
|
ErrorOrderCancelError: "订单取消失败",
|
|
|
|
|
ErrorAfterServiceLogisticsAddressError: "售后寄回地址获取失败",
|
|
|
|
|
ErrorAfterServiceLogisticsAddressReturnError: "售后寄回地址已回传",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (e Error) Error() string {
|
|
|
|
|