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
if p.cost:
cost += p.cost
discount = await env.sor_get_customer_discount(sor,
llmusage.ownerid,
discount = await env.get_customer_discount(llmusage.ownerid,
llmusage.userorgid)
return DictObject(**{
'original_amount': amount,