|
|
@@ -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";
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|