This commit is contained in:
yumoqing 2025-10-27 13:59:00 +08:00
parent 92c152aab9
commit d21a195acf

View File

@ -27,7 +27,7 @@ class PricingProgram:
debug(f'psid={psid}') debug(f'psid={psid}')
recs = await self.sor.R('pricing_spec', {'id': psid}) recs = await self.sor.R('pricing_spec', {'id': psid})
if len(recs) > 0: if len(recs) > 0:
return recs return recs[0]
return None return None
async def get_remote_pricing(sor, charge, data): async def get_remote_pricing(sor, charge, data):