bugfix
This commit is contained in:
parent
85d09720f1
commit
7385d33e27
@ -1,5 +1,6 @@
|
|||||||
from sqlor.dbpools import DBPools
|
from sqlor.dbpools import DBPools
|
||||||
from appPublic.timeUtils import timestampstr
|
from appPublic.timeUtils import timestampstr
|
||||||
|
from appPublic.log import debug, exception
|
||||||
from appPublic.dictObject import DictObject
|
from appPublic.dictObject import DictObject
|
||||||
|
|
||||||
class PaymentLog:
|
class PaymentLog:
|
||||||
@ -21,6 +22,7 @@ class PaymentLog:
|
|||||||
userid, customerid, channel,
|
userid, customerid, channel,
|
||||||
payment_name, amount, feerate,
|
payment_name, amount, feerate,
|
||||||
client_ip, currency='CNY'):
|
client_ip, currency='CNY'):
|
||||||
|
debug(f"{userid=}, {customerid=}, {amount=},{feerate=},{client_ip=}")
|
||||||
ns = {
|
ns = {
|
||||||
"id": self.env.uuid(),
|
"id": self.env.uuid(),
|
||||||
"customerid": customerid,
|
"customerid": customerid,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
userid = await get_user()
|
userid = await get_user()
|
||||||
roles = await get_user_roles(userid)
|
roles = await get_user_roles(userid)
|
||||||
debug(f'{roles=}')
|
debug(f'{roles=},{params_kw=}')
|
||||||
"""
|
"""
|
||||||
for r in roles:
|
for r in roles:
|
||||||
if not r.startswith("owner."):
|
if not r.startswith("owner."):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user