This commit is contained in:
yumoqing 2025-12-16 11:07:28 +08:00
parent 85d09720f1
commit 7385d33e27
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
from sqlor.dbpools import DBPools
from appPublic.timeUtils import timestampstr
from appPublic.log import debug, exception
from appPublic.dictObject import DictObject
class PaymentLog:
@ -21,6 +22,7 @@ class PaymentLog:
userid, customerid, channel,
payment_name, amount, feerate,
client_ip, currency='CNY'):
debug(f"{userid=}, {customerid=}, {amount=},{feerate=},{client_ip=}")
ns = {
"id": self.env.uuid(),
"customerid": customerid,

View File

@ -1,6 +1,6 @@
userid = await get_user()
roles = await get_user_roles(userid)
debug(f'{roles=}')
debug(f'{roles=},{params_kw=}')
"""
for r in roles:
if not r.startswith("owner."):