This commit is contained in:
aozhiwei 2022-02-11 17:33:06 +08:00
parent 1dd24ec83f
commit 853d4821cd

View File

@ -241,8 +241,7 @@ class MarketController extends BaseController {
$originalPrice * $goodsMeta['discount'] : $originalPrice; $originalPrice * $goodsMeta['discount'] : $originalPrice;
$discountPrice .= PRICE_PAD; $discountPrice .= PRICE_PAD;
error_log('discountPrice:' . $discountPrice . ' price:' . $price . ' originPrice:' . $originalPrice); if (!$discountPrice || strcmp($price, $discountPrice) == 0) {
if (!$discountPrice || $price != $discountPrice) {
myself()->_rspErr(500, 'price error'); myself()->_rspErr(500, 'price error');
return; return;
} }