accounting/wwwroot/open_reseller_accounts.dspy
2026-01-04 16:55:47 +08:00

9 lines
266 B
Plaintext

debug(f'{params_kw=}')
dbname = get_module_dbname('accounting')
orgid = await get_userorgid()
db = DBPools()
async with db.sqlorContext(dbname) as sor:
await openResellerAccounts(sor, '0', orgid)
return f'{orgid} reseller accounts opened'
return f'{db.e_except=}'