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.action = od.action
self.orderid = od['orderid']
self.curdate = await get_business_date(sor)
self.timestamp = timestampstr()
self.curdate = od.biz_date
self.timestamp = od.timestamp
self.action = od['action']
self.billid = getID()
self.customerid = od['customerid']
self.resellerid = od['resellerid']
self.transamount = od['recharge_amt']
self.productid = od['productid']
# self.providerid = od['providerid']
self.providerid = od['providerid']
self.summary = f'{self.action}|{self.customerid}|{self.resellerid}|{self.productid}'
self.variable = {
"交易金额": log['transamt'],
"交易手续费": log['transfee']
}
self.variable = od.variable
async def get_orgid_by_trans_role(self, sor, leg, role):
if role == 'owner':