This commit is contained in:
yumoqing 2025-12-15 17:03:45 +08:00
parent ee45a144bd
commit 1a712da0d9
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class PaymentLog:
ns = { ns = {
"id": self.env.uuid(), "id": self.env.uuid(),
"customerid": customerid, "customerid": customerid,
"payment_channel": channel, "channelid": channel,
"payment_name": payment_name, "payment_name": payment_name,
"payer_client_ip": client_ip, "payer_client_ip": client_ip,
"amount_total": amount, "amount_total": amount,

View File

@ -18,7 +18,7 @@ async with db.sqlorContext(dbname) as sor:
message=f"客户机构不存在{params_kw.customerid}") message=f"客户机构不存在{params_kw.customerid}")
pl = PaymentLog(request._run_ns) pl = PaymentLog(request._run_ns)
plog = await pl.new_log(userid, params_kw.customerid, '9', plog = await pl.new_log(userid, params_kw.customerid, 'agent',
'手工充值', params_kw.amount, 0.0, '手工充值', params_kw.amount, 0.0,
request['client_ip'], currency='CNY') request['client_ip'], currency='CNY')