游湖a阿底阿妈

This commit is contained in:
java110 2021-04-15 14:37:55 +08:00
parent ad77c13d88
commit f4a10d5b46
2 changed files with 22 additions and 11 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('/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('/app',proxy('http://api.demo.winqi.cn:8012',opts));
app.use('/callComponent',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('/app',proxy('http://127.0.0.1:8012',opts));
//app.use('/callComponent',proxy('http://192.168.1.16:8012',opts)); //app.use('/callComponent',proxy('http://192.168.1.16:8012',opts));
//app.use('/app',proxy('http://192.168.1.16:8012',opts)); //app.use('/app',proxy('http://192.168.1.16:8012',opts));

View File

@ -351,6 +351,17 @@
$that.payFeeOrderInfo.toFixedSign = toFixedSign; $that.payFeeOrderInfo.toFixedSign = toFixedSign;
} }
vc.emit('payFeeOrder', 'initData', listRoomData.data); vc.emit('payFeeOrder', 'initData', listRoomData.data);
//如果 是一次性费用,计算优惠
if ($that.payFeeOrderInfo.feeFlag == '2006012') {
vc.emit('payFeeDiscount', 'computeFeeDiscount', {
feeId: $that.payFeeOrderInfo.feeId,
cycles: '1',
payerObjId: $that.payFeeOrderInfo.payerObjId,
payerObjType: $that.payFeeOrderInfo.payerObjType,
endTime: $that.payFeeOrderInfo.endTime
});
}
}, function (errInfo, error) { }, function (errInfo, error) {
console.log('请求失败处理'); console.log('请求失败处理');
} }