export default [
  // 角色分类列表
  {
    url: '/cc/roleCategory/list',
    type: 'get',
    response: _ => {
      return {
        "code": 200,
        "message": "success",
        "responseTime": 1593322102878,
        "data": [
          {
            "id": "t_0",
            "departmentName": "管理平台",
            "parentId": "0",
            "tenantId": 0,
            "category": "0",
            "orderNum": 0,
            "userCount": 0,
            "children": []
          },
          {
            "id": "t_2",
            "departmentName": "英思唯网络货运平台",
            "parentId": "0",
            "tenantId": 2,
            "category": "0",
            "principal": "黄朝斌",
            "orderNum": 0,
            "userCount": 0,
            "children": [
              {
                "id": "1",
                "departmentName": "运营部",
                "parentId": "t_2",
                "tenantId": 2,
                "orderNum": 1,
                "userCount": 0,
                "children": []
              }
            ]
          }
        ]
      }
    }
  },
  // 增加角色分类
  {
    url: '/cc/roleCategory/add',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 修改角色分类
  {
    url: '/cc/roleCategory/update',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 删除角色分类
  {
    url: '/cc/roleCategory/delete',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 角色列表
  {
    url: '/cc/role/list',
    type: 'get',
    response: _ => {
      return {
        "code": 200,
        "message": "success",
        "responseTime": 1593323774003,
        "data": {
          "records": [],
          "total": 0,
          "size": 10,
          "current": 1,
          "orders": [],
          "hitCount": false,
          "searchCount": true,
          "pages": 0
        }
      }
    }
  },
  // 增加角色
  {
    url: '/cc/role/add',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 修改角色
  {
    url: '/cc/role/update',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 删除角色
  {
    url: '/cc/role/delete',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  }
]
