From d57302d35f2fc704875791902a0ce614fb59b800 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 9 May 2019 20:31:27 +0800 Subject: [PATCH] - jd AfsReasonType and AfsAppealType --- platformapi/jdapi/order.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/platformapi/jdapi/order.go b/platformapi/jdapi/order.go index 09122ca2..5e6b1485 100644 --- a/platformapi/jdapi/order.go +++ b/platformapi/jdapi/order.go @@ -51,6 +51,26 @@ const ( AfsApproveTypeRefused = 3 // 驳回 ) +const ( + AfsReasonTypeGoodsQuality = 201 // 商品质量问题/做工粗糙/有瑕疵 + AfsReasonTypeWrongGoods = 202 // 发错货 + AfsReasonTypeMissingGoods = 203 // 部分商品未收到 + AfsReasonTypeNoGoods = 501 // 全部商品未收到 + AfsReasonTypeDamagedGoods = 208 // 外表损伤(压坏,磕坏等) + AfsReasonTypeGoodsQuantity = 207 // 缺斤少两 + AfsReasonTypeAgreedByMerchant = 209 // 与商家协商一致 + AfsReasonTypeGoodsSizeNoSame = 302 // 大小尺寸与商品描述不符 + AfsReasonTypeGoodsColorNoSame = 303 // 颜色/款式/图案与描述不符 + AfsReasonWrongPurchase = 402 // 误购 + AfsReasonNotReceivedIntime = 502 // 未在时效内送达 +) + +const ( + AfsDealTypeRefund = "10" // 仅退款 + AfsDealTypeDirectCompensate = "30" // 直赔 + AfsDealTypeReturnGoodsRefund = "40" // 退货退款 +) + type AfsSkuDiscount struct { DetailDiscountType int `json:"detailDiscountType"` DiscountType int `json:"discountType"`