bugfix
This commit is contained in:
parent
85d09720f1
commit
7385d33e27
@ -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,
|
||||
|
||||
@ -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."):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user