This commit is contained in:
yumoqing 2026-01-04 17:58:20 +08:00
parent eb01315309
commit 03fdd22b8c

View File

@ -12,6 +12,22 @@ from .accountingnode import get_accounting_nodes
from .excep import *
from .getaccount import getAccountByName
class SaleInfo:
def __init__(self, customerid, resellerid, amount):
self.customerid = customerid
self.resellerid = resellerid
self.amount = amount
self.base_action = 'PAY'
class CostInfo:
def __init__(self, providerid, resellerid, amount):
self.providerid = providerid
self.resellerid = resellerid
self.amount = amount
class CostBiz(PFBiz):
def __init__(self, providerid, resellerid, amount):
self.provider =
class ConsumeBiz(PFBiz):
def __init__(self, od):
self.db = DBPools()