- jd AfsReasonType and AfsAppealType

This commit is contained in:
gazebo
2019-05-09 20:31:27 +08:00
parent c35e2a7815
commit d57302d35f

View File

@@ -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"`