优惠处理成向下取整

This commit is contained in:
java110 2020-12-03 15:01:11 +08:00
parent 2b0c6b6267
commit f674637640
2 changed files with 5 additions and 5 deletions

8
app.js
View File

@ -36,11 +36,11 @@ let opts = {
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts));
//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts));
//app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts));
//app.use('/callComponent',proxy('http://127.0.0.1:8012',opts));
//app.use('/app',proxy('http://127.0.0.1:8012',opts));
app.use('/callComponent',proxy('http://127.0.0.1:8012',opts));
app.use('/app',proxy('http://127.0.0.1:8012',opts));
//app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
//app.use('/app',proxy('http://192.168.1.16:8012',opts));

View File

@ -63,7 +63,7 @@
$that.payFeeDiscountInfo.feeDiscounts = _payFeeDiscountInfo.data;
$that.payFeeDiscountInfo.feeDiscounts.forEach(item => {
$that.payFeeDiscountInfo.selectDiscountIds.push(item.discountId);
item.discountPrice = Math.ceil(item.discountPrice);
item.discountPrice = Math.floor(item.discountPrice);
})
}, function (errInfo, error) {
console.log('请求失败处理');