diff --git a/accounting/init.py b/accounting/init.py index e39ec02..ba5a7c2 100644 --- a/accounting/init.py +++ b/accounting/init.py @@ -9,7 +9,7 @@ from .openaccount import openOwnerAccounts, openProviderAccounts, openResellerAc from .getaccount import getAccountBalance, getCustomerBalance, getAccountByName, get_account_total_amount from .bizaccount import BizAccounting from .recharge import RechargeBiz, recharge_accounting -from .consume import ConsumeBiz +from .consume import consume_accounting async def all_my_accounts(request): env = request._run_ns @@ -64,7 +64,7 @@ def load_accounting(): g = ServerEnv() g.Accounting = Accounting g.RechargeBiz = RechargeBiz - g.ConsumeBiz = ConsumeBiz + g.consume_accounting = consume_accounting g.write_bill = write_bill g.openOwnerAccounts = openOwnerAccounts g.openProviderAccounts = openProviderAccounts