1
This commit is contained in:
parent
a783267af6
commit
f09cf4c8b7
@ -182,7 +182,7 @@ class MarketController extends BaseController {
|
|||||||
}
|
}
|
||||||
$originalPrice = $goodsMeta['price'] * pow(10, CURRENCY_DECIMALS);
|
$originalPrice = $goodsMeta['price'] * pow(10, CURRENCY_DECIMALS);
|
||||||
$discountPrice = $goodsMeta['discount'] * 100 > 0 ?
|
$discountPrice = $goodsMeta['discount'] * 100 > 0 ?
|
||||||
$originalPrice * $meta['discount'] : $originalPrice;
|
$originalPrice * $goodsMeta['discount'] : $originalPrice;
|
||||||
if (!$discountPrice || $price != $discountPrice) {
|
if (!$discountPrice || $price != $discountPrice) {
|
||||||
myself()->_rspErr(500, 'price error');
|
myself()->_rspErr(500, 'price error');
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user