mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-11 18:32:49 +00:00
3121 lines
128 KiB
PHP
3121 lines
128 KiB
PHP
<?php
|
|
return [
|
|
[
|
|
'menu_name' => '装修管理',
|
|
'menu_key' => 'diy',
|
|
'menu_short_name' => '装修',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => 'element Brush',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '90',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '编辑',
|
|
'menu_key' => 'diy_tabbar_edit',
|
|
'menu_short_name' => '编辑',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'diy/bottom/edit',
|
|
'router_path' => 'diy/tabbar_edit',
|
|
'view_path' => 'diy/tabbar_edit',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
[
|
|
'menu_name' => '启动页',
|
|
'menu_key' => 'diy_page_decorate_index',
|
|
'menu_short_name' => '启动页',
|
|
'menu_type' => '1',
|
|
'icon' => 'element House',
|
|
'api_url' => '',
|
|
'router_path' => 'diy/index',
|
|
'view_path' => 'diy/index',
|
|
'methods' => '',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '设置使用页',
|
|
'menu_key' => 'set_siy_use',
|
|
'menu_short_name' => '设置使用页',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'diy/use',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '个人中心',
|
|
'menu_key' => 'diy_page_decorate_member_index',
|
|
'menu_short_name' => '个人中心',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconhuiyuanliebiao',
|
|
'api_url' => '',
|
|
'router_path' => 'diy/member',
|
|
'view_path' => 'diy/member',
|
|
'methods' => '',
|
|
'sort' => '99',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'diy_page_update',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'diy/diy',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '微页面',
|
|
'menu_key' => 'diy_page_list',
|
|
'menu_short_name' => '微页面',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont icondianpuzhuangxiu',
|
|
'api_url' => 'diy/diy',
|
|
'router_path' => 'diy/list',
|
|
'view_path' => 'diy/list',
|
|
'methods' => 'get',
|
|
'sort' => '98',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '分享设置',
|
|
'menu_key' => 'save_diy_share',
|
|
'menu_short_name' => '分享设置',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'diy/diy/share',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '页面路径',
|
|
'menu_key' => 'diy_page_route',
|
|
'menu_short_name' => '页面路径',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont icondianpuzhuangxiu',
|
|
'api_url' => 'diy/diy',
|
|
'router_path' => 'diy/route',
|
|
'view_path' => 'diy/route',
|
|
'methods' => 'get',
|
|
'sort' => '97',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '底部导航',
|
|
'menu_key' => 'diy_bottom',
|
|
'menu_short_name' => '底部导航',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont icondibudaohang',
|
|
'api_url' => 'diy/bottom',
|
|
'router_path' => 'diy/tabbar',
|
|
'view_path' => 'diy/tabbar',
|
|
'methods' => 'get',
|
|
'sort' => '96',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'diy_tabbar_update',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'diy/bottom',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '素材管理',
|
|
'menu_key' => 'attachment',
|
|
'menu_short_name' => '素材管理',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Files',
|
|
'api_url' => 'sys/attachment',
|
|
'router_path' => 'diy/attachment',
|
|
'view_path' => 'tools/attachment',
|
|
'methods' => 'get',
|
|
'sort' => '95',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '删除素材',
|
|
'menu_key' => 'delete_attachment',
|
|
'menu_short_name' => '删除素材',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/attachment/del',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '移动素材',
|
|
'menu_key' => 'move_attachment',
|
|
'menu_short_name' => '移动素材',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/attachment/batchmove',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '添加分组',
|
|
'menu_key' => 'add_attachment_category',
|
|
'menu_short_name' => '删除素材',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/attachment/category',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '添加分组',
|
|
'menu_key' => 'add_attachment_category',
|
|
'menu_short_name' => '添加分组',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/attachment/category',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '编辑分组',
|
|
'menu_key' => 'edit_attachment_category',
|
|
'menu_short_name' => '编辑分组',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/attachment/category/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '编辑分组',
|
|
'menu_key' => 'edit_attachment_category',
|
|
'menu_short_name' => '编辑分组',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/attachment/category/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '海报管理',
|
|
'menu_key' => 'poster_management',
|
|
'menu_short_name' => '海报管理',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Files',
|
|
'api_url' => 'poster',
|
|
'router_path' => 'poster/list',
|
|
'view_path' => 'poster/list',
|
|
'methods' => 'get',
|
|
'sort' => '94',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '海报装修',
|
|
'menu_key' => 'poster_decorate',
|
|
'menu_short_name' => '海报装修',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'poster/<id>',
|
|
'router_path' => 'poster/edit',
|
|
'view_path' => 'poster/edit',
|
|
'methods' => 'put',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
]
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '会员管理',
|
|
'menu_key' => 'member',
|
|
'menu_short_name' => '会员',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => 'iconfont iconjiaoseyonghu',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '70',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '会员列表',
|
|
'menu_key' => 'member_list',
|
|
'menu_short_name' => '会员列表',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconhuiyuanliebiao',
|
|
'api_url' => 'member/member',
|
|
'router_path' => 'member/member',
|
|
'view_path' => 'member/member',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '编辑会员',
|
|
'menu_key' => 'member_update',
|
|
'menu_short_name' => '编辑',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/modify/<member_id>/<field>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '添加会员',
|
|
'menu_key' => 'member_add',
|
|
'menu_short_name' => '添加',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/member',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '会员导出',
|
|
'menu_key' => 'member_export',
|
|
'menu_short_name' => '会员导出',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/member/export',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '会员详情',
|
|
'menu_key' => 'member_info',
|
|
'menu_short_name' => '会员详情',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'member/member/<id>',
|
|
'router_path' => 'member/detail',
|
|
'view_path' => 'member/member_detail',
|
|
'methods' => 'get',
|
|
'sort' => '90',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '调整会员积分',
|
|
'menu_key' => 'adjust_point',
|
|
'menu_short_name' => '调整会员积分',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/account/point',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '调整会员余额',
|
|
'menu_key' => 'adjust_balance',
|
|
'menu_short_name' => '调整会员余额',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/account/balance',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '会员标签',
|
|
'menu_key' => 'member_label',
|
|
'menu_short_name' => '会员标签',
|
|
'menu_type' => '1',
|
|
'icon' => 'element CollectionTag',
|
|
'api_url' => 'member/label',
|
|
'router_path' => 'member/label',
|
|
'view_path' => 'member/label',
|
|
'methods' => 'get',
|
|
'sort' => '80',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '编辑标签',
|
|
'menu_key' => 'member_label_update',
|
|
'menu_short_name' => '编辑标签',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/label/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '添加标签',
|
|
'menu_key' => 'member_label_add',
|
|
'menu_short_name' => '添加标签',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/label',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '删除标签',
|
|
'menu_key' => 'member_label_delete',
|
|
'menu_short_name' => '删除标签',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/label/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '会员等级',
|
|
'menu_key' => 'member_level',
|
|
'menu_short_name' => '会员等级',
|
|
'menu_type' => '0',
|
|
'icon' => 'element CollectionTag',
|
|
'api_url' => 'member/level',
|
|
'router_path' => 'member/level',
|
|
'view_path' => 'member/level',
|
|
'methods' => 'get',
|
|
'sort' => '79',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '等级列表',
|
|
'menu_key' => 'member_level_list',
|
|
'menu_short_name' => '会员等级',
|
|
'menu_type' => '1',
|
|
'icon' => 'element CollectionTag',
|
|
'api_url' => 'member/level',
|
|
'router_path' => 'member/level',
|
|
'view_path' => 'member/level',
|
|
'methods' => 'get',
|
|
'sort' => '50',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '添加等级',
|
|
'menu_key' => 'member_level_add',
|
|
'menu_short_name' => '添加等级',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/level',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '编辑等级',
|
|
'menu_key' => 'member_level_edit',
|
|
'menu_short_name' => '编辑等级',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/level/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '删除等级',
|
|
'menu_key' => 'member_level_delete',
|
|
'menu_short_name' => '删除等级',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/level/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '添加/编辑等级',
|
|
'menu_key' => 'member_level_edit_page',
|
|
'menu_short_name' => '添加/编辑等级',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => '',
|
|
'router_path' => 'member/level_edit',
|
|
'view_path' => 'member/level_edit',
|
|
'methods' => '',
|
|
'sort' => '49',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '会员等级信息',
|
|
'menu_key' => 'member_level_info',
|
|
'menu_short_name' => '会员等级信息',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/level/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '成长值规则',
|
|
'menu_key' => 'growth_rule',
|
|
'menu_short_name' => '成长值规则',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'member/config/growth_rule',
|
|
'router_path' => 'setting/growth_rule',
|
|
'view_path' => 'setting/growth_rule',
|
|
'methods' => 'get',
|
|
'sort' => '49',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '设置成长值规则',
|
|
'menu_key' => 'set_growth_rule',
|
|
'menu_short_name' => '设置成长值规则',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/config/growth_rule',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '会员成长值',
|
|
'menu_key' => 'member_growth',
|
|
'menu_short_name' => '会员成长值',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconjifen-xianxing',
|
|
'api_url' => 'member/account/growth',
|
|
'router_path' => 'member/growth',
|
|
'view_path' => 'member/growth',
|
|
'methods' => 'get',
|
|
'sort' => '49',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
[
|
|
'menu_name' => '会员积分',
|
|
'menu_key' => 'member_point',
|
|
'menu_short_name' => '会员积分',
|
|
'menu_type' => '0',
|
|
'icon' => 'iconfont iconjifen-xianxing',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '51',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '积分明细',
|
|
'menu_key' => 'member_point_list',
|
|
'menu_short_name' => '积分明细',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconjifen-xianxing',
|
|
'api_url' => 'member/account/point',
|
|
'router_path' => 'member/point',
|
|
'view_path' => 'member/point',
|
|
'methods' => 'get',
|
|
'sort' => '120',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '积分规则',
|
|
'menu_key' => 'point_rule',
|
|
'menu_short_name' => '积分规则',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'member/config/point_rule',
|
|
'router_path' => 'setting/point_rule',
|
|
'view_path' => 'setting/point_rule',
|
|
'methods' => 'get',
|
|
'sort' => '110',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '积分规则',
|
|
'menu_key' => 'set_point_rule',
|
|
'menu_short_name' => '设置积分规则',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/config/point_rule',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '会员余额',
|
|
'menu_key' => 'member_balance',
|
|
'menu_short_name' => '会员余额',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Money',
|
|
'api_url' => 'member/account/balance',
|
|
'router_path' => 'member/balance',
|
|
'view_path' => 'member/balance',
|
|
'methods' => 'get',
|
|
'sort' => '60',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '会员佣金',
|
|
'menu_key' => 'member_commission',
|
|
'menu_short_name' => '会员佣金',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Money',
|
|
'api_url' => 'member/account/commission',
|
|
'router_path' => 'member/commission',
|
|
'view_path' => 'member/commission',
|
|
'methods' => 'get',
|
|
'sort' => '59',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '财务管理',
|
|
'menu_key' => 'finance',
|
|
'menu_short_name' => '财务',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => 'element Box',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '60',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '财务流水',
|
|
'menu_key' => 'site_account_list',
|
|
'menu_short_name' => '财务流水',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Postcard',
|
|
'api_url' => 'finance/account',
|
|
'router_path' => 'finance/account',
|
|
'view_path' => 'finance/account',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '支付单据详情',
|
|
'menu_key' => 'site_pay_detail',
|
|
'menu_short_name' => '支付单据详情',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Postcard',
|
|
'api_url' => 'pay/detail',
|
|
'router_path' => 'finance/pay/detail',
|
|
'view_path' => 'finance/pay_detail',
|
|
'methods' => 'get',
|
|
'sort' => '98',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
[
|
|
'menu_name' => '会员提现',
|
|
'menu_key' => 'cash_out_list',
|
|
'menu_short_name' => '会员提现',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Postcard',
|
|
'api_url' => 'member/cash_out',
|
|
'router_path' => 'finance/cash_out',
|
|
'view_path' => 'finance/cash_out',
|
|
'methods' => 'get',
|
|
'sort' => '97',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '提现审核',
|
|
'menu_key' => 'cash_out_audit',
|
|
'menu_short_name' => '提现审核',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/cash_out/audit/<id>/<action>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '转账',
|
|
'menu_key' => 'cash_out_transfer',
|
|
'menu_short_name' => '转账',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/cash_out/transfer/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '会员退款',
|
|
'menu_key' => 'member_refund_list',
|
|
'menu_short_name' => '会员退款',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconhuiyuantixian',
|
|
'api_url' => 'pay/refund',
|
|
'router_path' => 'finance/refund',
|
|
'view_path' => 'finance/pay_refund',
|
|
'methods' => 'get',
|
|
'sort' => '9',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '转账',
|
|
'menu_key' => 'cash_out_transfer',
|
|
'menu_short_name' => '转账',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'pay/refund/transfer/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '退款详情',
|
|
'menu_key' => 'member_refund_detail',
|
|
'menu_short_name' => '退款详情',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconhuiyuantixian',
|
|
'api_url' => 'pay/refund/<refund_no>',
|
|
'router_path' => 'finance/refund/detail',
|
|
'view_path' => 'finance/refund_detail',
|
|
'methods' => 'get',
|
|
'sort' => '9',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '营销管理',
|
|
'menu_key' => 'active',
|
|
'menu_short_name' => '营销',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => 'iconfont iconyingxiao',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '56',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '核销管理',
|
|
'menu_key' => 'verify',
|
|
'menu_short_name' => '核销管理',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '48',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '核销员',
|
|
'menu_key' => 'verifier_list',
|
|
'menu_short_name' => '核销员',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'verify/verifier',
|
|
'router_path' => 'marketing/verifier',
|
|
'view_path' => 'marketing/verifier',
|
|
'methods' => 'get',
|
|
'sort' => '48',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '添加核销员',
|
|
'menu_key' => 'add_verifier',
|
|
'menu_short_name' => '添加核销员',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'verify/verifier',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '删除核销员',
|
|
'menu_key' => 'delete_verifier',
|
|
'menu_short_name' => '删除核销员',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'verify/verifier/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '核销记录',
|
|
'menu_key' => 'verify_list',
|
|
'menu_short_name' => '核销记录',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'verify/verify/record',
|
|
'router_path' => 'marketing/verify',
|
|
'view_path' => 'marketing/verify',
|
|
'methods' => 'get',
|
|
'sort' => '48',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '核销详情',
|
|
'menu_key' => 'verify_detail',
|
|
'menu_short_name' => '核销详情',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'verify/verify/<verify_code>',
|
|
'router_path' => 'marketing/verify/detail',
|
|
'view_path' => 'marketing/verify_detail',
|
|
'methods' => 'get',
|
|
'sort' => '48',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
]
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '签到管理',
|
|
'menu_key' => 'sign',
|
|
'menu_short_name' => '签到管理',
|
|
'menu_type' => '1',
|
|
'icon' => 'element FolderChecked',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '30',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '签到设置',
|
|
'menu_key' => 'sign_set',
|
|
'menu_short_name' => '签到设置',
|
|
'menu_type' => '1',
|
|
'icon' => 'element FolderChecked',
|
|
'api_url' => 'member/sign/config',
|
|
'router_path' => 'marketing/sign/config',
|
|
'view_path' => 'marketing/sign_config',
|
|
'methods' => 'get',
|
|
'sort' => '30',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_sign_set',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/sign/config',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '签到记录',
|
|
'menu_key' => 'sign_list',
|
|
'menu_short_name' => '签到记录',
|
|
'menu_type' => '1',
|
|
'icon' => 'element FolderChecked',
|
|
'api_url' => 'member/sign',
|
|
'router_path' => 'marketing/sign',
|
|
'view_path' => 'marketing/sign_list',
|
|
'methods' => 'get',
|
|
'sort' => '30',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
],
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '应用管理',
|
|
'menu_key' => 'addon',
|
|
'menu_short_name' => '应用',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => 'iconfont iconmanage-apply',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '55',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '应用列表',
|
|
'menu_key' => 'addon_list',
|
|
'menu_short_name' => '应用列表',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconmanage-apply',
|
|
'api_url' => 'addon/list',
|
|
'router_path' => 'app/index',
|
|
'view_path' => 'app/index',
|
|
'methods' => 'get',
|
|
'sort' => '50',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '渠道管理',
|
|
'menu_key' => 'channel',
|
|
'menu_short_name' => '渠道',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => 'element DataBoard',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '50',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => 'PC端',
|
|
'menu_key' => 'pc_config',
|
|
'menu_short_name' => 'PC端',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont icondesktop',
|
|
'api_url' => 'channel/pc/config',
|
|
'router_path' => 'channel/pc/config',
|
|
'view_path' => 'channel/pc/config',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_pc_config',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'channel/pc/config',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => 'H5端',
|
|
'menu_key' => 'h5_config',
|
|
'menu_short_name' => 'H5端',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconh5e',
|
|
'api_url' => 'channel/h5/config',
|
|
'router_path' => 'channel/h5/config',
|
|
'view_path' => 'channel/h5/config',
|
|
'methods' => 'put',
|
|
'sort' => '90',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_h5_config',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'channel/h5/config',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '微信公众号',
|
|
'menu_key' => 'channel_wechat',
|
|
'menu_short_name' => '微信公众号',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconweixingongzhonghao1',
|
|
'api_url' => '',
|
|
'router_path' => 'channel/wechat',
|
|
'view_path' => 'channel/wechat/access',
|
|
'methods' => '',
|
|
'sort' => '80',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '微信小程序',
|
|
'menu_key' => 'weapp_access',
|
|
'menu_short_name' => '微信小程序',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconxiaochengxushezhi',
|
|
'api_url' => 'weapp/access',
|
|
'router_path' => 'channel/weapp',
|
|
'view_path' => 'channel/weapp/access',
|
|
'methods' => 'get',
|
|
'sort' => '70',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '支付宝小程序',
|
|
'menu_key' => 'aliapp_weapp_access',
|
|
'menu_short_name' => '支付宝小程序',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconzhifubao',
|
|
'api_url' => 'aliapp/access',
|
|
'router_path' => 'channel/aliapp',
|
|
'view_path' => 'channel/aliapp/access',
|
|
'methods' => 'get',
|
|
'sort' => '60',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '发布教程',
|
|
'menu_key' => 'wechat_course',
|
|
'menu_short_name' => '发布教程',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/course',
|
|
'router_path' => 'channel/wechat/course',
|
|
'view_path' => 'channel/wechat/course',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
[
|
|
'menu_name' => '公众号配置',
|
|
'menu_key' => 'wechat_config',
|
|
'menu_short_name' => '公众号配置',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/config',
|
|
'router_path' => 'channel/wechat/config',
|
|
'view_path' => 'channel/wechat/config',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_wechat_config',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/config',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '公众号回复配置',
|
|
'menu_key' => 'wechat_reply_config',
|
|
'menu_short_name' => '公众号回复配置',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => '',
|
|
'router_path' => 'channel/wechat/reply',
|
|
'view_path' => 'channel/wechat/reply',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '默认回复设置',
|
|
'menu_key' => 'wechat_default_reply_set',
|
|
'menu_short_name' => '默认回复设置',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/reply/default',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '关注回复设置',
|
|
'menu_key' => 'wechat_subscribe_reply_set',
|
|
'menu_short_name' => '关注回复设置',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/reply/subscribe',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '关键字回复添加/编辑',
|
|
'menu_key' => 'wechat_keyword_reply',
|
|
'menu_short_name' => '关键字回复添加/编辑',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/reply/keywords/<id>',
|
|
'router_path' => 'channel/wechat/keyword_reply_edit',
|
|
'view_path' => 'channel/wechat/keyword_reply_edit',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '关键字回复添加',
|
|
'menu_key' => 'wechat_keyword_reply_add',
|
|
'menu_short_name' => '关键字回复添加',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/reply/keywords/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '关键字回复编辑',
|
|
'menu_key' => 'wechat_keyword_reply_edit',
|
|
'menu_short_name' => '关键字回复编辑',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/reply/keywords/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '关键字回复删除',
|
|
'menu_key' => 'wechat_keyword_reply_delete',
|
|
'menu_short_name' => '关键字回复编辑',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/reply/keywords/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '自定义菜单',
|
|
'menu_key' => 'wechat_menu',
|
|
'menu_short_name' => '自定义菜单',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/menu',
|
|
'router_path' => 'channel/wechat/menu',
|
|
'view_path' => 'channel/wechat/menu',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_wechat_menu',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/menu',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '模板消息',
|
|
'menu_key' => 'wechat_template_message',
|
|
'menu_short_name' => '模板消息',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/template',
|
|
'router_path' => 'channel/wechat/message',
|
|
'view_path' => 'channel/wechat/template',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '同步',
|
|
'menu_key' => 'sync_wechat_template_message',
|
|
'menu_short_name' => '同步',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'wechat/template/sync',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '配置教程',
|
|
'menu_key' => 'weapp_course',
|
|
'menu_short_name' => '配置教程',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'weapp/course',
|
|
'router_path' => 'channel/weapp/course',
|
|
'view_path' => 'channel/weapp/course',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
[
|
|
'menu_name' => '小程序配置',
|
|
'menu_key' => 'weapp_config',
|
|
'menu_short_name' => '小程序配置',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'weapp/config',
|
|
'router_path' => 'channel/weapp/config',
|
|
'view_path' => 'channel/weapp/config',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_weapp_config',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'weapp/config',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '订阅消息',
|
|
'menu_key' => 'weapp_template_message',
|
|
'menu_short_name' => '订阅消息',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'weapp/template',
|
|
'router_path' => 'channel/weapp/message',
|
|
'view_path' => 'channel/weapp/template',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '同步',
|
|
'menu_key' => 'sync_weapp_template_message',
|
|
'menu_short_name' => '同步',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'weapp/template/sync',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '小程序发布',
|
|
'menu_key' => 'weapp_code',
|
|
'menu_short_name' => '小程序发布',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'weapp/code',
|
|
'router_path' => 'channel/weapp/code',
|
|
'view_path' => 'channel/weapp/code',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '一键云端发布',
|
|
'menu_key' => 'add_weapp_code',
|
|
'menu_short_name' => '一键云端发布',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'weapp/version',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '支付宝配置',
|
|
'menu_key' => 'aliapp_config',
|
|
'menu_short_name' => '支付宝配置',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'aliapp/config',
|
|
'router_path' => 'channel/aliapp/config',
|
|
'view_path' => 'channel/aliapp/config',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_aliapp_config',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'aliapp/config',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '配置教程',
|
|
'menu_key' => 'aliapp_course',
|
|
'menu_short_name' => '配置教程',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'aliapp/course',
|
|
'router_path' => 'channel/aliapp/course',
|
|
'view_path' => 'channel/aliapp/course',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '权限管理',
|
|
'menu_key' => 'auth',
|
|
'menu_short_name' => '权限',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => 'element Lock',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '40',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '管理员',
|
|
'menu_key' => 'auth_list',
|
|
'menu_short_name' => '管理员',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Lock',
|
|
'api_url' => 'user',
|
|
'router_path' => 'auth/user',
|
|
'view_path' => 'auth/user',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '管理员信息',
|
|
'menu_key' => 'auth_user_detail',
|
|
'menu_short_name' => '管理员信息',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'user/<uid>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '1',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '添加管理员',
|
|
'menu_key' => 'add_site_user',
|
|
'menu_short_name' => '添加管理员',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'user',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '编辑管理员',
|
|
'menu_key' => 'edit_site_user',
|
|
'menu_short_name' => '编辑管理员',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'user/<uid>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '修改管理员属性',
|
|
'menu_key' => 'edit_site_user_field',
|
|
'menu_short_name' => '修改管理员属性',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'user/<uid>/<field>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '锁定',
|
|
'menu_key' => 'lock_site_user',
|
|
'menu_short_name' => '锁定',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'user/lock/<uid>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '解锁',
|
|
'menu_key' => 'unlock_site_user',
|
|
'menu_short_name' => '解锁用户',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'user/unlock/<uid>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '管理员角色',
|
|
'menu_key' => 'auth_role',
|
|
'menu_short_name' => '管理员角色',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconhuiyuanliebiao',
|
|
'api_url' => 'sys/role',
|
|
'router_path' => 'auth/role',
|
|
'view_path' => 'auth/role',
|
|
'methods' => 'get',
|
|
'sort' => '70',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '新增',
|
|
'menu_key' => 'auth_role_add',
|
|
'menu_short_name' => '新增',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/role',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '1',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '编辑',
|
|
'menu_key' => 'auth_role_update',
|
|
'menu_short_name' => '编辑',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/role/<role_id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '1',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '删除',
|
|
'menu_key' => 'auth_role_del',
|
|
'menu_short_name' => '删除',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/role/<role_id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '1',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '操作日志',
|
|
'menu_key' => 'auth_log',
|
|
'menu_short_name' => '操作日志',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Document',
|
|
'api_url' => 'sys/log',
|
|
'router_path' => 'setting/auth/log',
|
|
'view_path' => 'auth/log',
|
|
'methods' => 'get',
|
|
'sort' => '60',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '系统设置',
|
|
'menu_key' => 'setting',
|
|
'menu_short_name' => '设置',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => 'element Setting',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '30',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '网站设置',
|
|
'menu_key' => 'setting_system',
|
|
'menu_short_name' => '网站设置',
|
|
'menu_type' => '0',
|
|
'icon' => 'element Basketball',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '基础设置',
|
|
'menu_key' => 'setting_system_web',
|
|
'menu_short_name' => '基础设置',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Basketball',
|
|
'api_url' => 'sys/config/website',
|
|
'router_path' => 'setting/system',
|
|
'view_path' => 'setting/system',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_base_setting',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/config/website',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '版权设置',
|
|
'menu_key' => 'setting_copyright',
|
|
'menu_short_name' => '版权设置',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconbanquan1',
|
|
'api_url' => 'sys/config/copyright',
|
|
'router_path' => 'setting/copyright',
|
|
'view_path' => 'setting/copyright',
|
|
'methods' => 'get',
|
|
'sort' => '90',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_setting_copyright',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/config/copyright',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '登录设置',
|
|
'menu_key' => 'setting_login',
|
|
'menu_short_name' => '登录设置',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconzhuceshezhi',
|
|
'api_url' => 'sys/config/login',
|
|
'router_path' => 'setting/adminlogin',
|
|
'view_path' => 'setting/adminlogin',
|
|
'methods' => 'get',
|
|
'sort' => '20',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_setting_login',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/config/login',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '会员设置',
|
|
'menu_key' => 'setting_member',
|
|
'menu_short_name' => '会员设置',
|
|
'menu_type' => '0',
|
|
'icon' => 'iconfont iconjiaoseyonghu',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '71',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '会员设置',
|
|
'menu_key' => 'setting_member_config',
|
|
'menu_short_name' => '会员设置',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconjiaoseyonghu',
|
|
'api_url' => 'member/config/member',
|
|
'router_path' => 'setting/member',
|
|
'view_path' => 'setting/member',
|
|
'methods' => 'get',
|
|
'sort' => '71',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_setting_member_config',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/config/member',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '注册登录',
|
|
'menu_key' => 'setting_login_register',
|
|
'menu_short_name' => '注册登录',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconzhuceshezhi',
|
|
'api_url' => 'member/config/login',
|
|
'router_path' => 'setting/login',
|
|
'view_path' => 'setting/login',
|
|
'methods' => 'get',
|
|
'sort' => '70',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_setting_login_register',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/config/login',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '支付管理',
|
|
'menu_key' => 'setting_pay',
|
|
'menu_short_name' => '支付管理',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Wallet',
|
|
'api_url' => '',
|
|
'router_path' => 'setting/pay',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '60',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '支付设置',
|
|
'menu_key' => 'setting_pay_channel',
|
|
'menu_short_name' => '支付设置',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'pay/channel/lists',
|
|
'router_path' => 'setting/pay/channel',
|
|
'view_path' => 'setting/pay',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '设置',
|
|
'menu_key' => 'setting_pay_channel_set',
|
|
'menu_short_name' => '设置',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'pay/channel/set/<channel>/<type>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '打款设置',
|
|
'menu_key' => 'setting_pay_transfer',
|
|
'menu_short_name' => '打款设置',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'pay/transfer',
|
|
'router_path' => 'setting/pay/transfer',
|
|
'view_path' => 'setting/transfer',
|
|
'methods' => 'get',
|
|
'sort' => '90',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '设置',
|
|
'menu_key' => 'setting_pay_transfer_set',
|
|
'menu_short_name' => '设置',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'pay/transfer',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '90',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '提现设置',
|
|
'menu_key' => 'cash_out_config',
|
|
'menu_short_name' => '提现设置',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Postcard',
|
|
'api_url' => 'member/config/cash_out',
|
|
'router_path' => 'setting/cash_out',
|
|
'view_path' => 'setting/cash_out',
|
|
'methods' => 'get',
|
|
'sort' => '59',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '设置',
|
|
'menu_key' => 'cash_out_config_set',
|
|
'menu_short_name' => '设置',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'member/config/cash_out',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '90',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
],
|
|
],
|
|
|
|
[
|
|
'menu_name' => '消息管理',
|
|
'menu_key' => 'setting_notice',
|
|
'menu_short_name' => '消息管理',
|
|
'menu_type' => '1',
|
|
'icon' => 'element ChatLineSquare',
|
|
'api_url' => '',
|
|
'router_path' => 'setting/notice',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '50',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '消息模板',
|
|
'menu_key' => 'setting_notice_template',
|
|
'menu_short_name' => '消息模板',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'notice/notice',
|
|
'router_path' => 'setting/notice/template',
|
|
'view_path' => 'setting/notice',
|
|
'methods' => 'get',
|
|
'sort' => '10',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '消息详情',
|
|
'menu_key' => 'notice_detail',
|
|
'menu_short_name' => '消息详情',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'notice/notice/<key>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '消息启动关闭',
|
|
'menu_key' => 'notice_edit_status',
|
|
'menu_short_name' => '消息启动关闭',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'notice/notice/editstatus',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '消息修改',
|
|
'menu_key' => 'notice_edit',
|
|
'menu_short_name' => '消息修改',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'notice/notice/edit',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '发送记录',
|
|
'menu_key' => 'setting_notice_records',
|
|
'menu_short_name' => '发送记录',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'notice/notice/log',
|
|
'router_path' => 'setting/notice/records',
|
|
'view_path' => 'setting/notice_records',
|
|
'methods' => 'get',
|
|
'sort' => '9',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '短信管理',
|
|
'menu_key' => 'sms_notice',
|
|
'menu_short_name' => '短信管理',
|
|
'menu_type' => '0',
|
|
'icon' => 'element Message',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '40',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '短信设置',
|
|
'menu_key' => 'sms_setting',
|
|
'menu_short_name' => '短信设置',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'notice/notice/sms',
|
|
'router_path' => 'setting/sms/setting',
|
|
'view_path' => 'setting/sms',
|
|
'methods' => 'get',
|
|
'sort' => '12',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '获取短信配置',
|
|
'menu_key' => 'get_sms_config',
|
|
'menu_short_name' => '获取短信配置',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'notice/notice/sms/<sms_type>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '修改短信配置',
|
|
'menu_key' => 'set_sms_config',
|
|
'menu_short_name' => '修改短信配置',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'notice/notice/sms/<sms_type>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '发送记录',
|
|
'menu_key' => 'sms_notice_records',
|
|
'menu_short_name' => '发送记录',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'notice/sms/log',
|
|
'router_path' => 'setting/sms/records',
|
|
'view_path' => 'setting/sms_records',
|
|
'methods' => 'get',
|
|
'sort' => '11',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '发送记录详情',
|
|
'menu_key' => 'sms_log_detail',
|
|
'menu_short_name' => '发送记录详情',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'notice/sms/log/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '系统工具',
|
|
'menu_key' => 'setting_tool',
|
|
'menu_short_name' => '系统工具',
|
|
'menu_type' => '0',
|
|
'icon' => 'element FolderChecked',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '30',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '协议管理',
|
|
'menu_key' => 'system_agreement',
|
|
'menu_short_name' => '协议管理',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Notebook',
|
|
'api_url' => 'sys/agreement',
|
|
'router_path' => 'setting/agreement',
|
|
'view_path' => 'setting/agreement',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '协议编辑',
|
|
'menu_key' => 'system_agreement_edit',
|
|
'menu_short_name' => '协议编辑',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => '',
|
|
'router_path' => 'setting/agreement/edit',
|
|
'view_path' => 'setting/agreement_edit',
|
|
'methods' => '',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '获取协议信息',
|
|
'menu_key' => 'get_system_agreement',
|
|
'menu_short_name' => '获取协议信息',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/agreement/<key>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '修改协议信息',
|
|
'menu_key' => 'edit_system_agreement',
|
|
'menu_short_name' => '修改协议信息',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/agreement/<key>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '地图秘钥',
|
|
'menu_key' => 'map_setting',
|
|
'menu_short_name' => '地图秘钥',
|
|
'menu_type' => '1',
|
|
'icon' => 'element Message',
|
|
'api_url' => 'sys/config/map',
|
|
'router_path' => 'setting/map',
|
|
'view_path' => 'setting/map',
|
|
'methods' => 'get',
|
|
'sort' => '99',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_layout_setting',
|
|
'menu_short_name' => '保存',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/config/map',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '存储设置',
|
|
'menu_key' => 'setting_storage',
|
|
'menu_short_name' => '存储设置',
|
|
'menu_type' => '1',
|
|
'icon' => 'element FolderChecked',
|
|
'api_url' => 'sys/storage',
|
|
'router_path' => 'setting/storage',
|
|
'view_path' => 'setting/storage',
|
|
'methods' => 'get',
|
|
'sort' => '98',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '获取存储配置',
|
|
'menu_key' => 'setting_storage_value',
|
|
'menu_short_name' => '获取存储配置',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/storage/<storage_type>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '存储设置修改',
|
|
'menu_key' => 'edit_setting_storage',
|
|
'menu_short_name' => '存储设置修改',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/storage/<storage_type>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '数据导出',
|
|
'menu_key' => 'setting_export',
|
|
'menu_short_name' => '数据导出',
|
|
'menu_type' => '1',
|
|
'icon' => 'element FolderChecked',
|
|
'api_url' => 'sys/export',
|
|
'router_path' => 'setting/export',
|
|
'view_path' => 'setting/export',
|
|
'methods' => 'get',
|
|
'sort' => '97',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '删除报表',
|
|
'menu_key' => 'delete_export',
|
|
'menu_short_name' => '删除报表',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/export/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '小票打印',
|
|
'menu_key' => 'printer_management',
|
|
'menu_short_name' => '小票打印',
|
|
'menu_type' => '1',
|
|
'icon' => 'element FolderChecked',
|
|
'api_url' => 'printer',
|
|
'router_path' => 'printer/list',
|
|
'view_path' => 'printer/list',
|
|
'methods' => 'get',
|
|
'sort' => '97',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '删除打印机',
|
|
'menu_key' => 'delete_printer',
|
|
'menu_short_name' => '删除打印机',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'printer/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '添加打印机',
|
|
'menu_key' => 'printer_add',
|
|
'menu_short_name' => '添加打印机',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'printer',
|
|
'router_path' => 'printer/add',
|
|
'view_path' => 'printer/edit',
|
|
'methods' => 'post',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
[
|
|
'menu_name' => '编辑打印机',
|
|
'menu_key' => 'printer_edit',
|
|
'menu_short_name' => '添加打印机',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'printer/<id>',
|
|
'router_path' => 'printer/edit',
|
|
'view_path' => 'printer/edit',
|
|
'methods' => 'put',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
[
|
|
'menu_name' => '小票打印模板',
|
|
'menu_key' => 'printer_template_management',
|
|
'menu_short_name' => '小票打印模板',
|
|
'menu_type' => '1',
|
|
'icon' => 'element FolderChecked',
|
|
'api_url' => 'printer/template',
|
|
'router_path' => 'printer/template/list',
|
|
'view_path' => 'printer/template_list',
|
|
'methods' => 'get',
|
|
'sort' => '96',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '删除打印模板',
|
|
'menu_key' => 'delete_printer_template',
|
|
'menu_short_name' => '删除打印模板',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'printer/template/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '添加打印模板',
|
|
'menu_key' => 'printer_template_add',
|
|
'menu_short_name' => '添加打印模板',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'printer/template',
|
|
'router_path' => 'printer/template/add',
|
|
'view_path' => 'printer/template_edit',
|
|
'methods' => 'post',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
[
|
|
'menu_name' => '编辑打印模板',
|
|
'menu_key' => 'printer_template_edit',
|
|
'menu_short_name' => '编辑打印模板',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'printer/template/<id>',
|
|
'router_path' => 'printer/template/edit',
|
|
'view_path' => 'printer/template_edit',
|
|
'methods' => 'put',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
]
|
|
],
|
|
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '页面装修',
|
|
'menu_key' => 'decorate',
|
|
'menu_short_name' => '页面装修',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => '',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '21',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '装修',
|
|
'menu_key' => 'page_decorate',
|
|
'menu_short_name' => '装修',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'diy/diy/<id>',
|
|
'router_path' => 'decorate/edit',
|
|
'view_path' => 'diy/edit',
|
|
'methods' => 'put',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '页面预览',
|
|
'menu_key' => 'preview',
|
|
'menu_short_name' => '页面预览',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => '',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '页面预览',
|
|
'menu_key' => 'page_wap_preview',
|
|
'menu_short_name' => '页面预览',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => '',
|
|
'router_path' => 'preview/wap',
|
|
'view_path' => 'index/preview',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '开发',
|
|
'menu_key' => 'tool',
|
|
'menu_short_name' => '开发',
|
|
'parent_key' => '',
|
|
'menu_type' => '0',
|
|
'icon' => 'element Edit',
|
|
'api_url' => '',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => '',
|
|
'sort' => '20',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '插件管理',
|
|
'menu_key' => 'app_store',
|
|
'menu_short_name' => '应用',
|
|
'menu_type' => '1',
|
|
'icon' => 'element ShoppingBag',
|
|
'api_url' => 'addon/local',
|
|
'router_path' => 'app_manage/app_store',
|
|
'view_path' => 'index/store',
|
|
'methods' => 'get',
|
|
'sort' => '120',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '安装插件',
|
|
'menu_key' => 'install_addon',
|
|
'menu_short_name' => '安装插件',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'addon/install/<addon>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '插件卸载',
|
|
'menu_key' => 'uninstall_addon',
|
|
'menu_short_name' => '插件卸载',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'addon/uninstall/<addon>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '插件云安装',
|
|
'menu_key' => 'cloud_install_addon',
|
|
'menu_short_name' => '插件云安装',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'addon/cloudinstall/<addon>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '插件下载',
|
|
'menu_key' => 'addon_download',
|
|
'menu_short_name' => '插件下载',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'addon/download/<addon>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '云编译',
|
|
'menu_key' => 'cloud_build',
|
|
'menu_short_name' => '云编译',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'niucloud/build',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '插件升级',
|
|
'menu_key' => 'addon_upgrade',
|
|
'menu_short_name' => '插件升级',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'upgrade/<addon>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '插件开发',
|
|
'menu_key' => 'addon_develop',
|
|
'menu_short_name' => '插件开发',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconchajiankaifa',
|
|
'api_url' => '',
|
|
'router_path' => 'tools/addon',
|
|
'view_path' => 'tools/addon/index',
|
|
'methods' => '',
|
|
'sort' => '110',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '删除插件',
|
|
'menu_key' => 'delete_develop_addon',
|
|
'menu_short_name' => '删除插件',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'addon/addon_develop/<key>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '打包插件',
|
|
'menu_key' => 'build_develop_addon',
|
|
'menu_short_name' => '打包插件',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'addon/addon_develop/build/<key>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '代码生成',
|
|
'menu_key' => 'code',
|
|
'menu_short_name' => '代码生成',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont icondaimashengcheng',
|
|
'api_url' => 'generator/generator',
|
|
'router_path' => 'tools/code',
|
|
'view_path' => 'tools/code/index',
|
|
'methods' => 'get',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '数据表编辑',
|
|
'menu_key' => 'code_edit',
|
|
'menu_short_name' => '数据表编辑',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => '',
|
|
'router_path' => 'tools/code/edit',
|
|
'view_path' => 'tools/code/edit',
|
|
'methods' => '',
|
|
'sort' => '99',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '添加数据表',
|
|
'menu_key' => 'add_generator',
|
|
'menu_short_name' => '添加数据表',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'generator/generator',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '编辑数据表',
|
|
'menu_key' => 'edit_generator',
|
|
'menu_short_name' => '编辑数据表',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'generator/generator/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '删除数据表',
|
|
'menu_key' => 'delete_generator',
|
|
'menu_short_name' => '删除数据表',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'generator/generator/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '代码生成',
|
|
'menu_key' => 'generator_download',
|
|
'menu_short_name' => '代码生成',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'generator/download',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '插件添加/编辑',
|
|
'menu_key' => 'addon_edit',
|
|
'menu_short_name' => '插件添加/编辑',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => '',
|
|
'router_path' => 'tools/addon_edit',
|
|
'view_path' => 'tools/addon/edit',
|
|
'methods' => 'get',
|
|
'sort' => '90',
|
|
'status' => '1',
|
|
'is_show' => '0',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '添加插件',
|
|
'menu_key' => 'add_develop_addon',
|
|
'menu_short_name' => '添加插件',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'addon/addon_develop/<key>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '编辑插件',
|
|
'menu_key' => 'edit_develop_addon',
|
|
'menu_short_name' => '编辑插件',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'addon/addon_develop/<key>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '数据字典',
|
|
'menu_key' => 'sys_dict_dict_dict_list',
|
|
'menu_short_name' => '数据字典',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconwenzhangguanli1',
|
|
'api_url' => 'dict/post/post',
|
|
'router_path' => 'tools/list',
|
|
'view_path' => 'dict/list',
|
|
'methods' => 'get',
|
|
'sort' => '90',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '数据字典添加',
|
|
'menu_key' => 'sys_dict_dict_dict_add',
|
|
'menu_short_name' => '数据字典添加',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'dict',
|
|
'router_path' => 'edit',
|
|
'view_path' => 'dict/edit',
|
|
'methods' => 'post',
|
|
'sort' => '4',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '编辑',
|
|
'menu_key' => 'sys_dict_dict_dict_edit',
|
|
'menu_short_name' => '编辑',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'dict/<id>',
|
|
'router_path' => 'edit',
|
|
'view_path' => 'dict/edit',
|
|
'methods' => 'put',
|
|
'sort' => '3',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '删除',
|
|
'menu_key' => 'sys_dict_dict_dict_delete',
|
|
'menu_short_name' => '删除',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'dict/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '2',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '环境检测',
|
|
'menu_key' => 'tools_check_environment',
|
|
'menu_short_name' => '环境检测',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconhuanjingjiance',
|
|
'api_url' => '',
|
|
'router_path' => 'tools/detection',
|
|
'view_path' => 'tools/detection',
|
|
'methods' => '',
|
|
'sort' => '50',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '菜单管理',
|
|
'menu_key' => 'site_menu',
|
|
'menu_short_name' => '菜单管理',
|
|
'menu_type' => '1',
|
|
'icon' => '',
|
|
'api_url' => 'sys/menu',
|
|
'router_path' => 'tools/menu',
|
|
'view_path' => 'auth/menu',
|
|
'methods' => 'get',
|
|
'sort' => '48',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '新增',
|
|
'menu_key' => 'auth_site_menu_add',
|
|
'menu_short_name' => '新增',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/menu',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '1',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '编辑',
|
|
'menu_key' => 'auth_site_menu_update',
|
|
'menu_short_name' => '编辑',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/menu/<menu_key>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '1',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '删除',
|
|
'menu_key' => 'auth_site_menu_del',
|
|
'menu_short_name' => '删除',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/menu',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '1',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '详情',
|
|
'menu_key' => 'auth_site_menu_info',
|
|
'menu_short_name' => '详情',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/menu/<menu_key>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'get',
|
|
'sort' => '0',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '计划任务',
|
|
'menu_key' => 'tools_schedule',
|
|
'menu_short_name' => '计划任务',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconjihuarenwu',
|
|
'api_url' => 'sys/schedule/list',
|
|
'router_path' => 'tools/schedule',
|
|
'view_path' => 'tools/schedule',
|
|
'methods' => '',
|
|
'sort' => '40',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '新增',
|
|
'menu_key' => 'schedule_add',
|
|
'menu_short_name' => '新增',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/schedule',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '4',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '编辑',
|
|
'menu_key' => 'schedule_update',
|
|
'menu_short_name' => '编辑',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/schedule/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '3',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '设置状态',
|
|
'menu_key' => 'schedule_set_status',
|
|
'menu_short_name' => '设置状态',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'schedule/modify/status/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'put',
|
|
'sort' => '2',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '删除',
|
|
'menu_key' => 'schedule_del',
|
|
'menu_short_name' => '删除',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/schedule/<id>',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'delete',
|
|
'sort' => '1',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
],
|
|
],
|
|
[
|
|
'menu_name' => '授权信息',
|
|
'menu_key' => 'app_auth',
|
|
'menu_short_name' => '授权信息',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconshouquanxinxi2',
|
|
'api_url' => '',
|
|
'router_path' => 'tools/authorize',
|
|
'view_path' => 'app/authorize',
|
|
'methods' => '',
|
|
'sort' => '30',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '系统升级',
|
|
'menu_key' => 'system_upgrade',
|
|
'menu_short_name' => '系统升级',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'upgrade',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
],
|
|
[
|
|
'menu_name' => '绑定授权信息',
|
|
'menu_key' => 'bind_app_auth',
|
|
'menu_short_name' => '绑定授权信息',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'niucloud/authinfo',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'menu_name' => '开发者key',
|
|
'menu_key' => 'developer_token',
|
|
'menu_short_name' => '开发者key',
|
|
'menu_type' => '1',
|
|
'icon' => 'iconfont iconshouquanxinxi2',
|
|
'api_url' => 'sys/config/developer_token',
|
|
'router_path' => 'tools/developer_token',
|
|
'view_path' => 'setting/developer_token',
|
|
'methods' => 'get',
|
|
'sort' => '20',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
'children' => [
|
|
[
|
|
'menu_name' => '保存',
|
|
'menu_key' => 'save_developer_token',
|
|
'menu_short_name' => '同步',
|
|
'menu_type' => '2',
|
|
'icon' => '',
|
|
'api_url' => 'sys/config/developer_token',
|
|
'router_path' => '',
|
|
'view_path' => '',
|
|
'methods' => 'post',
|
|
'sort' => '100',
|
|
'status' => '1',
|
|
'is_show' => '1',
|
|
]
|
|
]
|
|
],
|
|
]
|
|
]
|
|
];
|