bugfix
This commit is contained in:
parent
996a8821e4
commit
ebe390509b
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user