Compare commits

...

3 Commits

Author SHA1 Message Date
yumoqing
d29850c297 bugfix 2025-01-11 19:29:08 +08:00
yumoqing
66299b029b Merge branch 'master' of git.kaiyuancloud.cn:yumoqing/rbac 2025-01-09 17:16:12 +08:00
yumoqing
ef435baf91 bugfix 2025-01-09 17:16:03 +08:00
2 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,12 @@ db = DBPools()
dbname = await rfexe('get_module_dbname', 'sage')
async with db.sqlorContext(dbname) as sor:
orgid = await register_user(sor, params_kw)
# ownerid = await get_owner_orgid(sor)
# await openCustomerAccounts(sor, ownerid, orgid)
try:
ownerid = await get_owner_orgid(sor)
await openCustomerAccounts(sor, ownerid, orgid)
except Exception as e:
fe = format_exc()
exception(f'{e=}\n{fe}')
return UiMessage(title="Success", message="register success")
return UiError(title='Error', message="register failed")

View File

@ -7,7 +7,7 @@
{
"name":"recharge",
"label":"充值",
"url":"{{entire_url('/accounting/recharge.ui')}}"
"url":"{{entire_url('/platformbiz/recharge.ui')}}"
},
{
"name":"myacc",