shish 3 anni fa
parent
commit
4338b8cb22
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      console/controllers/OrderItemController.php

+ 4 - 1
console/controllers/OrderItemController.php

@@ -23,9 +23,12 @@ class OrderItemController extends Controller
                 $ratio = $item->ratio ?? 21;
                 $productId = $item->productId ?? 0;
                 $name = $item->name ?? '';
-                if ($cost < 10 && $cost > $xhPrice) {
+                if ($cost > 10 && $cost > $xhPrice) {
                     echo $productId . ' ' . $name . ' 成本:' . $cost . ' 价格:' . $xhPrice . ' 比例:' . $ratio . "\n";
                 }
+                if ($cost < 10 && $cost > $xhPrice) {
+                    //echo $productId . ' ' . $name . ' 成本:' . $cost . ' 价格:' . $xhPrice . ' 比例:' . $ratio . "\n";
+                }
             }
         }
     }