rbac/www/user/user_menu.ui
2025-01-03 16:24:32 +08:00

46 lines
857 B
XML

{
"widgettype":"Menu",
"options":{
"target":"page_center",
"items":[
{% if 'customer' in get_user_roles(get_user()) %}
{
"name":"recharge",
"label":"充值",
"url":"{{entire_url('/accounting/recharge.ui')}}"
},
{
"name":"myacc",
"label":"我的账户",
"url":"{{entire_url('myaccout')}}"
},
{
"name":"mybill",
"label":"我的账单",
"url":"{{entire_url('mybill')}}"
},
{
"name":"myorder",
"label":"我的订单",
"url":"{{entire_url('myorder')}}"
},
{
"name":"myresource",
"label":"我的资源",
"url":"{{entire_url('myresource')}}"
},
{% endif %}
{
"name":"resetpwd",
"label":"重置密码",
"url":"{{entire_url('reset_password')}}"
},
{
"name":"logout",
"label":"签退",
"url":"{{entire_url('logout.dspy')}}"
}
]
}
}