bugfix
This commit is contained in:
parent
ee45a144bd
commit
1a712da0d9
@ -15,7 +15,7 @@ class PaymentLog:
|
||||
ns = {
|
||||
"id": self.env.uuid(),
|
||||
"customerid": customerid,
|
||||
"payment_channel": channel,
|
||||
"channelid": channel,
|
||||
"payment_name": payment_name,
|
||||
"payer_client_ip": client_ip,
|
||||
"amount_total": amount,
|
||||
|
||||
@ -18,7 +18,7 @@ async with db.sqlorContext(dbname) as sor:
|
||||
message=f"客户机构不存在{params_kw.customerid}")
|
||||
|
||||
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,
|
||||
request['client_ip'], currency='CNY')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user