rabin hace 2 años
padre
commit
4e4c776bef
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      app/shop/src/Excel.php

+ 1 - 5
app/shop/src/Excel.php

@@ -261,11 +261,7 @@ class Excel
                         if (is_numeric($v2['num']) && is_numeric($v2['price'])) {
                             $p = $v2['price']*$v2['num'];
                         }
-                        if ($k2 == 0) {
-                            $goods_price1 = $v['price'];
-                        } else {
-                            $goods_price1 = 0;
-                        }
+                        $goods_price1 = 0;
                         $d = array
                         (
                             $v['order_num'],