Compare commits
3 Commits
4e12e48d20
...
d29850c297
Author | SHA1 | Date | |
---|---|---|---|
|
d29850c297 | ||
|
66299b029b | ||
|
ef435baf91 |
@ -3,7 +3,12 @@ db = DBPools()
|
|||||||
dbname = await rfexe('get_module_dbname', 'sage')
|
dbname = await rfexe('get_module_dbname', 'sage')
|
||||||
async with db.sqlorContext(dbname) as sor:
|
async with db.sqlorContext(dbname) as sor:
|
||||||
orgid = await register_user(sor, params_kw)
|
orgid = await register_user(sor, params_kw)
|
||||||
# ownerid = await get_owner_orgid(sor)
|
try:
|
||||||
# await openCustomerAccounts(sor, ownerid, orgid)
|
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 UiMessage(title="Success", message="register success")
|
||||||
return UiError(title='Error', message="register failed")
|
return UiError(title='Error', message="register failed")
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
{
|
{
|
||||||
"name":"recharge",
|
"name":"recharge",
|
||||||
"label":"充值",
|
"label":"充值",
|
||||||
"url":"{{entire_url('/accounting/recharge.ui')}}"
|
"url":"{{entire_url('/platformbiz/recharge.ui')}}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name":"myacc",
|
"name":"myacc",
|
||||||
|
Loading…
Reference in New Issue
Block a user