rabin 3 년 전
부모
커밋
5eb34abda3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/shop/lib/Sell.php

+ 1 - 1
app/shop/lib/Sell.php

@@ -350,7 +350,7 @@ class Sell
                 }
 
                 if ($v['discount_id'] && $v['discount_id'] > 0) {
-                    $info['discount_goods'] = $info['goods'];
+                    $info['discount_goods'][] = $info['goods'][$k];
                 }
             }