This commit is contained in:
邹宗楠
2024-03-27 13:54:35 +08:00
parent f44bbc329e
commit 9f43eeecea

View File

@@ -168,13 +168,13 @@ func getZengSkus(orderID string, orderMan map[string]interface{}) (skus []*model
return skus, discountMoney
}
func (p *PurchaseHandler) partRefund2OrderDetailSkuList(orderID string, orderDetail2 interface{}) (skuList []*model.OrderSku) {
func (p *PurchaseHandler) partRefund2OrderDetailSkuList(orderID string, orderDetail2 interface{}) []*model.OrderSku {
refundDetail := orderDetail2.([]interface{})
refundSkuList := refundDetail[len(refundDetail)-1].(map[string]interface{})["sub_reverse_order_list"].([]interface{})
if orderID == "4062150144186637882" {
globals.SugarLogger.Debugf("=====refundSkuList-----list %s", utils.Format4Output(refundSkuList, false))
}
skuList = make([]*model.OrderSku, 0, 0)
skuList := make([]*model.OrderSku, 0, 0)
for _, product2 := range refundSkuList {
product := product2.(map[string]interface{})
if orderID == "4062150144186637882" {