export default [
  // 查询用户列表
  {
    url: '/cc/user/list',
    type: 'post',
    response: _ => {
      return {
        "code": 200,
        "message": "success",
        "responseTime": 1593322600465,
        "data": {
          "records": [],
          "total": 0,
          "size": 10,
          "current": 1,
          "orders": [],
          "hitCount": false,
          "searchCount": true,
          "pages": 0
        }
      }
    }
  },
  // 新增用户
  {
    url: '/cc/user/add',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 更新用户信息
  {
    url: '/cc/user/update',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 获取用户信息
  {
    url: '/cc/user/get',
    type: 'get',
    response: _ => {
      return {
        "code": 200,
        "message": "success",
        "responseTime": 1593322411649,
        "data": {
          "id": "1",
          "departmentName": "运营部",
          "parentId": "t_2",
          "tenantId": 2,
          "orderNum": 1
        }
      }
    }
  },
  // 修改组织信息
  {
    url: '/cc/department/update',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 查询可修改上级组织
  {
    url: '/cc/department/chooseList',
    type: 'get',
    response: _ => {
      return {
        "code": 200,
        "message": "success",
        "responseTime": 1593322411305,
        "data": [
          {
            "id": "t_2",
            "departmentName": "英思唯网络货运平台"
          }
        ]
      }
    }
  }
]
