This commit is contained in:
yumoqing 2026-04-08 14:27:38 +08:00
parent 678cf4bac8
commit a25c9e56dc

View File

@ -133,7 +133,7 @@ where resellerid = ${resellerid}$
async def get_customer_discount(resellerid, customerid):
env = ServerEnv()
async with get_sor_context(env, 'discount') as sor:
return sor_get_customer_discount(sor, resellerid, customerid)
return await sor_get_customer_discount(sor, resellerid, customerid)
return 1
def load_discount():