export default [
  // 菜单树列表
  {
    url: '/cc/menu/listTree',
    type: 'get',
    response: _ => {
      return {
        "code": 200,
        "message": "success",
        "responseTime": 1593321093655,
        "data": [
          {
            "id": 1,
            "name": "网络货运平台",
            "icon": null,
            "url": "http://192.168.31.248",
            "status": 0,
            "type": -1,
            "rowKey": "1_-1",
            "children": [
              {
                "id": 31,
                "parentId": 0,
                "menuCode": "OverView",
                "parentName": "网络货运平台",
                "name": "总览",
                "url": "/Overview",
                "perms": null,
                "type": 0,
                "icon": null,
                "orderNum": 1,
                "status": 0,
                "systemId": 1,
                "children": [],
                "rowKey": "31_0",
                "dataPerm": null,
                "userDataPerm": null,
                "parentRowKey": "1_-1",
                "available": null
              },
              {
                "id": 1,
                "parentId": 0,
                "menuCode": "SystemMgr",
                "parentName": "网络货运平台",
                "name": "系统管理",
                "url": "/system-management",
                "perms": null,
                "type": 0,
                "icon": null,
                "orderNum": 20,
                "status": 0,
                "systemId": 1,
                "children": [
                  {
                    "id": 2,
                    "parentId": 1,
                    "menuCode": "SysMgr",
                    "parentName": "系统管理",
                    "name": "系统列表",
                    "url": "/resource-management/system-management",
                    "perms": "system/list",
                    "type": 1,
                    "icon": null,
                    "orderNum": 1,
                    "status": 0,
                    "systemId": 1,
                    "children": [
                      {
                        "id": 3,
                        "parentId": 2,
                        "menuCode": "SysMgr_info",
                        "parentName": "系统列表",
                        "name": "系统查看",
                        "url": null,
                        "perms": null,
                        "type": 2,
                        "icon": null,
                        "orderNum": 1,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "3_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "2_1",
                        "available": null
                      },
                      {
                        "id": 4,
                        "parentId": 2,
                        "menuCode": "SysMgr_add",
                        "parentName": "系统列表",
                        "name": "系统新增",
                        "url": null,
                        "perms": null,
                        "type": 2,
                        "icon": null,
                        "orderNum": 2,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "4_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "2_1",
                        "available": null
                      },
                      {
                        "id": 5,
                        "parentId": 2,
                        "menuCode": "SysMgr_update",
                        "parentName": "系统列表",
                        "name": "系统修改",
                        "url": null,
                        "perms": null,
                        "type": 2,
                        "icon": null,
                        "orderNum": 3,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "5_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "2_1",
                        "available": null
                      },
                      {
                        "id": 6,
                        "parentId": 2,
                        "menuCode": "SysMgr_delete",
                        "parentName": "系统列表",
                        "name": "系统删除",
                        "url": null,
                        "perms": null,
                        "type": 2,
                        "icon": null,
                        "orderNum": 4,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "6_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "2_1",
                        "available": null
                      }
                    ],
                    "rowKey": "2_1",
                    "dataPerm": null,
                    "userDataPerm": 0,
                    "parentRowKey": "1_0",
                    "available": null
                  },
                  {
                    "id": 7,
                    "parentId": 1,
                    "menuCode": "MenuMgr",
                    "parentName": "系统管理",
                    "name": "菜单管理",
                    "url": "/resource-management/menu-management",
                    "perms": "menu/listTree",
                    "type": 1,
                    "icon": null,
                    "orderNum": 2,
                    "status": 0,
                    "systemId": 1,
                    "children": [
                      {
                        "id": 8,
                        "parentId": 7,
                        "menuCode": "MenuMgr_info",
                        "parentName": "菜单管理",
                        "name": "菜单查看",
                        "url": null,
                        "perms": "menu/info",
                        "type": 2,
                        "icon": null,
                        "orderNum": 1,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "8_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "7_1",
                        "available": null
                      },
                      {
                        "id": 9,
                        "parentId": 7,
                        "menuCode": "MenuMgr_add",
                        "parentName": "菜单管理",
                        "name": "菜单新增",
                        "url": null,
                        "perms": "menu/add",
                        "type": 2,
                        "icon": null,
                        "orderNum": 2,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "9_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "7_1",
                        "available": null
                      },
                      {
                        "id": 10,
                        "parentId": 7,
                        "menuCode": "MenuMgr_update",
                        "parentName": "菜单管理",
                        "name": "菜单修改",
                        "url": null,
                        "perms": "menu/update",
                        "type": 2,
                        "icon": null,
                        "orderNum": 3,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "10_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "7_1",
                        "available": null
                      },
                      {
                        "id": 11,
                        "parentId": 7,
                        "menuCode": "MenuMgr_delete",
                        "parentName": "菜单管理",
                        "name": "菜单删除",
                        "url": null,
                        "perms": "menu/delete",
                        "type": 2,
                        "icon": null,
                        "orderNum": 4,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "11_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "7_1",
                        "available": null
                      }
                    ],
                    "rowKey": "7_1",
                    "dataPerm": null,
                    "userDataPerm": 0,
                    "parentRowKey": "1_0",
                    "available": null
                  },
                  {
                    "id": 12,
                    "parentId": 1,
                    "menuCode": "OrgMgr",
                    "parentName": "系统管理",
                    "name": "组织管理",
                    "url": "/organization-user/organization-management",
                    "perms": "department/listTree",
                    "type": 1,
                    "icon": null,
                    "orderNum": 3,
                    "status": 0,
                    "systemId": 1,
                    "children": [
                      {
                        "id": 13,
                        "parentId": 12,
                        "menuCode": "OrgMgr_info",
                        "parentName": "组织管理",
                        "name": "组织查看",
                        "url": null,
                        "perms": "department/info",
                        "type": 2,
                        "icon": null,
                        "orderNum": 1,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "13_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "12_1",
                        "available": null
                      },
                      {
                        "id": 14,
                        "parentId": 12,
                        "menuCode": "OrgMgr_add",
                        "parentName": "组织管理",
                        "name": "组织新增",
                        "url": null,
                        "perms": "department/add;department/chooseList",
                        "type": 2,
                        "icon": null,
                        "orderNum": 2,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "14_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "12_1",
                        "available": null
                      },
                      {
                        "id": 15,
                        "parentId": 12,
                        "menuCode": "OrgMgr_update",
                        "parentName": "组织管理",
                        "name": "组织修改",
                        "url": null,
                        "perms": "department/update;department/chooseList",
                        "type": 2,
                        "icon": null,
                        "orderNum": 3,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "15_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "12_1",
                        "available": null
                      },
                      {
                        "id": 16,
                        "parentId": 12,
                        "menuCode": "OrgMgr_delete",
                        "parentName": "组织管理",
                        "name": "组织删除",
                        "url": null,
                        "perms": "department/delete",
                        "type": 2,
                        "icon": null,
                        "orderNum": 4,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "16_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "12_1",
                        "available": null
                      }
                    ],
                    "rowKey": "12_1",
                    "dataPerm": null,
                    "userDataPerm": 0,
                    "parentRowKey": "1_0",
                    "available": null
                  },
                  {
                    "id": 17,
                    "parentId": 1,
                    "menuCode": "UserMgr",
                    "parentName": "系统管理",
                    "name": "人员管理",
                    "url": "/organization-user/user-management",
                    "perms": "department/listTree;user/list;role/all",
                    "type": 1,
                    "icon": null,
                    "orderNum": 4,
                    "status": 0,
                    "systemId": 1,
                    "children": [
                      {
                        "id": 18,
                        "parentId": 17,
                        "menuCode": "UserMgr_info",
                        "parentName": "人员管理",
                        "name": "人员查看",
                        "url": null,
                        "perms": "user/info",
                        "type": 2,
                        "icon": null,
                        "orderNum": 1,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "18_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "17_1",
                        "available": null
                      },
                      {
                        "id": 19,
                        "parentId": 17,
                        "menuCode": "UserMgr_add",
                        "parentName": "人员管理",
                        "name": "人员添加",
                        "url": null,
                        "perms": "user/add",
                        "type": 2,
                        "icon": null,
                        "orderNum": 2,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "19_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "17_1",
                        "available": null
                      },
                      {
                        "id": 20,
                        "parentId": 17,
                        "menuCode": "UserMgr_update",
                        "parentName": "人员管理",
                        "name": "人员修改",
                        "url": null,
                        "perms": "user/update",
                        "type": 2,
                        "icon": null,
                        "orderNum": 3,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "20_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "17_1",
                        "available": null
                      },
                      {
                        "id": 21,
                        "parentId": 17,
                        "menuCode": "UserMgr_delete",
                        "parentName": "人员管理",
                        "name": "人员删除",
                        "url": null,
                        "perms": "user/delete",
                        "type": 2,
                        "icon": null,
                        "orderNum": 4,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "21_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "17_1",
                        "available": null
                      }
                    ],
                    "rowKey": "17_1",
                    "dataPerm": null,
                    "userDataPerm": 0,
                    "parentRowKey": "1_0",
                    "available": null
                  },
                  {
                    "id": 22,
                    "parentId": 1,
                    "menuCode": "RoleMgr",
                    "parentName": "系统管理",
                    "name": "角色管理",
                    "url": "/user-role/role-management",
                    "perms": "roleCategory/list;role/list;tenant/all",
                    "type": 1,
                    "icon": null,
                    "orderNum": 5,
                    "status": 0,
                    "systemId": 1,
                    "children": [
                      {
                        "id": 23,
                        "parentId": 22,
                        "menuCode": "RoleMgr_info",
                        "parentName": "角色管理",
                        "name": "角色查看",
                        "url": null,
                        "perms": "role/info",
                        "type": 2,
                        "icon": null,
                        "orderNum": 1,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "23_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "22_1",
                        "available": null
                      },
                      {
                        "id": 24,
                        "parentId": 22,
                        "menuCode": "UserMgr_add",
                        "parentName": "角色管理",
                        "name": "角色新增",
                        "url": null,
                        "perms": "role/add",
                        "type": 2,
                        "icon": null,
                        "orderNum": 2,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "24_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "22_1",
                        "available": null
                      },
                      {
                        "id": 25,
                        "parentId": 22,
                        "menuCode": "UserMgr_update",
                        "parentName": "角色管理",
                        "name": "角色修改",
                        "url": null,
                        "perms": "role/update",
                        "type": 2,
                        "icon": null,
                        "orderNum": 3,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "25_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "22_1",
                        "available": null
                      },
                      {
                        "id": 26,
                        "parentId": 22,
                        "menuCode": "UserMgr_delete",
                        "parentName": "角色管理",
                        "name": "角色删除",
                        "url": null,
                        "perms": "role/delete",
                        "type": 2,
                        "icon": null,
                        "orderNum": 4,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "26_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "22_1",
                        "available": null
                      },
                      {
                        "id": 30,
                        "parentId": 22,
                        "menuCode": "AuthMgr_Go",
                        "parentName": "角色管理",
                        "name": "跳转权限页",
                        "url": null,
                        "perms": null,
                        "type": 2,
                        "icon": null,
                        "orderNum": 5,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "30_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "22_1",
                        "available": null
                      }
                    ],
                    "rowKey": "22_1",
                    "dataPerm": null,
                    "userDataPerm": 0,
                    "parentRowKey": "1_0",
                    "available": null
                  },
                  {
                    "id": 27,
                    "parentId": 1,
                    "menuCode": "AuthMgr",
                    "parentName": "系统管理",
                    "name": "权限管理",
                    "url": "/user-role/auth-management",
                    "perms": "roleCategory/listWithRole;rolemenu/list",
                    "type": 1,
                    "icon": null,
                    "orderNum": 6,
                    "status": 0,
                    "systemId": 1,
                    "children": [
                      {
                        "id": 28,
                        "parentId": 27,
                        "menuCode": "AuthMgr_setting",
                        "parentName": "权限管理",
                        "name": "权限设置",
                        "url": null,
                        "perms": "rolemenu/setRoleMenu",
                        "type": 2,
                        "icon": null,
                        "orderNum": 1,
                        "status": 0,
                        "systemId": 1,
                        "children": null,
                        "rowKey": "28_2",
                        "dataPerm": null,
                        "userDataPerm": null,
                        "parentRowKey": "27_1",
                        "available": null
                      }
                    ],
                    "rowKey": "27_1",
                    "dataPerm": null,
                    "userDataPerm": 0,
                    "parentRowKey": "1_0",
                    "available": null
                  },
                  {
                    "id": 50,
                    "parentId": 1,
                    "menuCode": "ApiAuthorityMgr",
                    "parentName": "系统管理",
                    "name": "API接口管理",
                    "url": "/resource-management/api-authority",
                    "perms": "/cc/apiauth/list",
                    "type": 1,
                    "icon": null,
                    "orderNum": 7,
                    "status": 0,
                    "systemId": 1,
                    "children": [],
                    "rowKey": "50_1",
                    "dataPerm": null,
                    "userDataPerm": 0,
                    "parentRowKey": "1_0",
                    "available": null
                  }
                ],
                "rowKey": "1_0",
                "dataPerm": null,
                "userDataPerm": null,
                "parentRowKey": "1_-1",
                "available": null
              },
              {
                "id": 32,
                "parentId": 0,
                "menuCode": "TenantMgr",
                "parentName": "网络货运平台",
                "name": "租户管理",
                "url": "/tenant-management",
                "perms": null,
                "type": 0,
                "icon": null,
                "orderNum": 21,
                "status": 0,
                "systemId": 1,
                "children": [
                  {
                    "id": 33,
                    "parentId": 32,
                    "menuCode": "TenantMgrTenant",
                    "parentName": "租户管理",
                    "name": "租户列表",
                    "url": "/tenant-management/tenant",
                    "perms": "tenant/list",
                    "type": 1,
                    "icon": null,
                    "orderNum": 1,
                    "status": 0,
                    "systemId": 1,
                    "children": [],
                    "rowKey": "33_1",
                    "dataPerm": null,
                    "userDataPerm": 0,
                    "parentRowKey": "32_0",
                    "available": null
                  },
                  {
                    "id": 34,
                    "parentId": 32,
                    "menuCode": "TenantAccount",
                    "parentName": "租户管理",
                    "name": "管理员账号",
                    "url": "/tenant-management/account",
                    "perms": "tenantAdmin/list",
                    "type": 1,
                    "icon": null,
                    "orderNum": 2,
                    "status": 0,
                    "systemId": 1,
                    "children": [],
                    "rowKey": "34_1",
                    "dataPerm": null,
                    "userDataPerm": 0,
                    "parentRowKey": "32_0",
                    "available": null
                  },
                  {
                    "id": 35,
                    "parentId": 32,
                    "menuCode": "TenantAuth",
                    "parentName": "租户管理",
                    "name": "权限管理",
                    "url": "/tenanat-management/auth",
                    "perms": "tenant/all;tenantMenu/list;tenantMenu/setTenantMenu",
                    "type": 1,
                    "icon": null,
                    "orderNum": 3,
                    "status": 0,
                    "systemId": 1,
                    "children": [],
                    "rowKey": "35_1",
                    "dataPerm": null,
                    "userDataPerm": 0,
                    "parentRowKey": "32_0",
                    "available": null
                  }
                ],
                "rowKey": "32_0",
                "dataPerm": null,
                "userDataPerm": null,
                "parentRowKey": "1_-1",
                "available": null
              }
            ]
          }
        ]
      }
    }
  },
  // 菜单添加
  {
    url: '/cc/menu/add',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 菜单修改
  {
    url: '/cc/menu/update',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 菜单删除
  {
    url: '/cc/menu/delete',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
]
