platformbiz/wwwroot/open_owner_accounts.dspy

7 lines
177 B
Plaintext
Raw Normal View History

2025-01-21 19:39:05 +08:00
db = DBPools()
dbname = await rfexe('get_module_dbname', 'accounting')
async with db.sqlorContext(dbname) as sor:
await openOwnerAccounts(sor, '0')
return 'OK'
return 'error'