Authored by htoooth

fix promotion

... ... @@ -1206,7 +1206,7 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => {
result.promotion = ((salePriceNum / marketPriceNum) * 10).toFixed(1);
// 只显示大于1折小于9折的折扣
if (1.0 <= result.promotion && result.promotion <= 9.0) {
if (1.0 >= result.promotion || result.promotion >= 9.0) {
result.promotion = false;
}
}
... ...