46 lines
857 B
XML
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')}}"
|
|
}
|
|
]
|
|
}
|
|
}
|