This commit is contained in:
yumoqing 2026-01-04 15:20:53 +08:00
parent d392edb8c1
commit 76493dbf32

View File

@ -15,20 +15,16 @@ class ConsumeBiz(PFBiz):
self.db = DBPools() self.db = DBPools()
self.action = od.action self.action = od.action
self.orderid = od['orderid'] self.orderid = od['orderid']
self.curdate = await get_business_date(sor) self.curdate = od.biz_date
self.timestamp = timestampstr() self.timestamp = od.timestamp
self.action = od['action'] self.action = od['action']
self.billid = getID() self.billid = getID()
self.customerid = od['customerid'] self.customerid = od['customerid']
self.resellerid = od['resellerid'] self.resellerid = od['resellerid']
self.transamount = od['recharge_amt']
self.productid = od['productid'] self.productid = od['productid']
# self.providerid = od['providerid'] self.providerid = od['providerid']
self.summary = f'{self.action}|{self.customerid}|{self.resellerid}|{self.productid}' self.summary = f'{self.action}|{self.customerid}|{self.resellerid}|{self.productid}'
self.variable = { self.variable = od.variable
"交易金额": log['transamt'],
"交易手续费": log['transfee']
}
async def get_orgid_by_trans_role(self, sor, leg, role): async def get_orgid_by_trans_role(self, sor, leg, role):
if role == 'owner': if role == 'owner':