This commit is contained in:
yumoqing 2026-04-08 14:24:58 +08:00
parent d8bd0348b0
commit 3160730f47

View File

@ -27,8 +27,7 @@ async def llm_charging(ppid, llmusage):
amount += p.amount amount += p.amount
if p.cost: if p.cost:
cost += p.cost cost += p.cost
discount = await env.sor_get_customer_discount(sor, discount = await env.get_customer_discount(llmusage.ownerid,
llmusage.ownerid,
llmusage.userorgid) llmusage.userorgid)
return DictObject(**{ return DictObject(**{
'original_amount': amount, 'original_amount': amount,