refactor config about billing

This commit is contained in:
jysperm
2014-09-07 23:08:58 +08:00
parent 9735bb31da
commit f9ec76d763
9 changed files with 26 additions and 23 deletions

View File

@@ -24,8 +24,7 @@ module.exports =
when_balance_below: 0
when_arrears_above: 0
cyclical_billing: 3600 * 1000
daily_billing_cycle: 24 * 3600 * 1000
billing_cycle: 10 * 60 * 1000
plans:
sample:
@@ -34,6 +33,8 @@ module.exports =
billing_by_time:
unit: 3600 * 1000
min_billing_unit: 24
price: 10 / (30 * 24)
services: []