- 尝试处理京东售后SKU是非正品的情况
This commit is contained in:
@@ -195,7 +195,7 @@ func (c *PurchaseHandler) ConfirmReceivedReturnGoods(ctx *jxcontext.Context, ord
|
||||
func orderSkus2AfsSkus(refundSkuList []*model.OrderSku) (list []*jdapi.VenderAfsSkuDTO) {
|
||||
for _, v := range refundSkuList {
|
||||
actType := int(utils.Str2Int64WithDefault(v.StoreSubName, 0))
|
||||
if !(actType == jdapi.PromotionTypeOverflowGiveGift || actType == jdapi.PromotionTypeBuyGiveGift) {
|
||||
if actType == 0 { //!(actType == jdapi.PromotionTypeOverflowGiveGift || actType == jdapi.PromotionTypeBuyGiveGift) {
|
||||
actType = 1
|
||||
}
|
||||
list = append(list, &jdapi.VenderAfsSkuDTO{
|
||||
|
||||
Reference in New Issue
Block a user