|
|
@@ -645,12 +645,14 @@ class OrderController extends BaseController
|
|
|
$name = $systemInfo['name'] ?? '';
|
|
|
$hsData = GoodsClass::getFinalPrice($systemInfo, $shop, $custom, $params);
|
|
|
$systemPrice = $hsData['price'] ?? 0;
|
|
|
- if (floatval($currentPrice) != floatval($systemPrice)) {
|
|
|
- $diff[] = [
|
|
|
- 'name' => $name,
|
|
|
- 'price' => $systemPrice,
|
|
|
- 'kdPrice' => $currentPrice,
|
|
|
- ];
|
|
|
+ if ($systemInfo['priceType'] == 1) {
|
|
|
+ if (floatval($currentPrice) != floatval($systemPrice)) {
|
|
|
+ $diff[] = [
|
|
|
+ 'name' => $name,
|
|
|
+ 'price' => $systemPrice,
|
|
|
+ 'kdPrice' => $currentPrice,
|
|
|
+ ];
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|