|
|
@@ -1166,7 +1166,7 @@ class ProductClass extends BaseClass
|
|
|
$discountPrice = floatval($discountPrice);
|
|
|
$name = $productInfo->name ?? '';
|
|
|
if ($discountPrice > 0) {
|
|
|
- if ($discountPrice > $price) {
|
|
|
+ if ($discountPrice >= $price) {
|
|
|
util::fail($name . " 价格应该大于特价");
|
|
|
}
|
|
|
}
|