This commit is contained in:
yumoqing 2025-12-15 14:47:06 +08:00
parent 996a8821e4
commit ebe390509b
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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