diff --git a/app.js b/app.js index 11d945a37..d7f9b1b21 100644 --- a/app.js +++ b/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)); diff --git a/public/components/property/payFeeDiscount/payFeeDiscount.js b/public/components/property/payFeeDiscount/payFeeDiscount.js index c69acf8a7..3231266ce 100644 --- a/public/components/property/payFeeDiscount/payFeeDiscount.js +++ b/public/components/property/payFeeDiscount/payFeeDiscount.js @@ -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('请求失败处理');