This commit is contained in:
yumoqing 2025-07-28 16:42:35 +08:00
parent d95b12a903
commit aa03d6959e

View File

@ -5,6 +5,7 @@ async with db.sqlorContext(dbname) as sor:
orgid = await register_user(sor, params_kw) orgid = await register_user(sor, params_kw)
if get_owner_orgid and openCustomerAccounts: if get_owner_orgid and openCustomerAccounts:
ownerid = await get_owner_orgid(sor, orgid) ownerid = await get_owner_orgid(sor, orgid)
openCustomerAccounts = globals().get('openCustomerAccounts')
if openCustomerAccounts: if openCustomerAccounts:
await openCustomerAccounts(sor, ownerid, orgid) await openCustomerAccounts(sor, ownerid, orgid)
return UiMessage(title="Success", message="register success") return UiMessage(title="Success", message="register success")