This commit is contained in:
yumoqing 2025-12-15 13:59:58 +08:00
parent 4e2ddff63c
commit 8668dc81d7

View File

@ -1,4 +1,5 @@
roles = await get_user_roles()
userid = await get_user()
roles = await get_user_roles(userid)
for r in roles:
if not r.startswith("owner."):
return UiError(title="手工充值", message="只有平台用户才能执行")