mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优惠处理成向下取整
This commit is contained in:
parent
2b0c6b6267
commit
f674637640
8
app.js
8
app.js
@ -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));
|
||||
|
||||
@ -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('请求失败处理');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user