From ebe390509b2935b632960774c00fccd125cd2d39 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 15 Dec 2025 14:47:06 +0800 Subject: [PATCH] bugfix --- accounting/init.py | 4 ++-- accounting/recharge.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/accounting/init.py b/accounting/init.py index 2c2c9b5..c38cc24 100644 --- a/accounting/init.py +++ b/accounting/init.py @@ -7,12 +7,12 @@ from accounting.bill import write_bill from accounting.openaccount import openOwnerAccounts, openProviderAccounts, openResellerAccounts, openCustomerAccounts from accounting.getaccount import getAccountBalance, getCustomerBalance, getAccountByName, get_account_total_amount from accounting.bizaccount import BizAccounting -from accounting.recharge import RechargeAccounting, recharge_accounting +from accounting.recharge import RechargeBiz, recharge_accounting def load_accounting(): g = ServerEnv() g.Accounting = Accounting - g.RechargeAccounting = RechargeAccounting + g.RechargeBiz = RechargeBiz g.write_bill = write_bill g.openOwnerAccounts = openOwnerAccounts g.openProviderAccounts = openProviderAccounts diff --git a/accounting/recharge.py b/accounting/recharge.py index f8a9274..2bbb210 100644 --- a/accounting/recharge.py +++ b/accounting/recharge.py @@ -83,7 +83,7 @@ async def recharge_accounting(sor, customerid, action, orderid, "recharge_fee": recharge_fee, "action":action, } - ra = RechargeAccounting(recharge_log) + ra = RechargeBiz(recharge_log) if sor: r = await ra.accounting(sor) return True