export default [
  // 获取租户列表-不分页
  {
    url: '/cc/tenant/all',
    type: 'get',
    response: _ => {
      return {
        "code": 200,
        "message": "success",
        "responseTime": 1593323774667,
        "data": [
          {
            "id": 0,
            "tenantName": "管理平台",
            "adminRoleId": 1
          },
          {
            "id": 2,
            "tenantName": "英思唯网络货运平台",
            "adminRoleId": 2
          }
        ]
      }
    }
  },
  // 获取租户列表
  {
    url: '/cc/tenant/list',
    type: 'get',
    response: _ => {
      return {
        "code": 200,
        "message": "success",
        "responseTime": 1593324145480,
        "data": {
          "records": [
            {
              "id": 0,
              "tenantName": "管理平台",
              "tenantCode": "platform",
              "contact": null,
              "contactPhone": null,
              "status": 0,
              "orderNum": 1,
              "adminRoleId": 1,
              "createUser": "admin",
              "createTime": "2020-04-14 08:35:44",
              "updateUser": null,
              "updateTime": "2020-06-22 09:31:00",
              "deleted": false,
              "canEdited": false
            },
            {
              "id": 2,
              "tenantName": "英思唯网络货运平台",
              "tenantCode": "esvFreight",
              "contact": "黄朝斌",
              "contactPhone": null,
              "status": 0,
              "orderNum": 2,
              "adminRoleId": 2,
              "createUser": "admin",
              "createTime": "2020-06-15 11:00:00",
              "updateUser": null,
              "updateTime": "2020-06-15 12:15:12",
              "deleted": false,
              "canEdited": true
            }
          ],
          "total": 2,
          "size": 10,
          "current": 1,
          "orders": [],
          "hitCount": false,
          "searchCount": true,
          "pages": 1
        }
      }
    }
  },
  // 增加租户
  {
    url: '/cc/tenant/add',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 更新租户
  {
    url: '/cc/tenant/update',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  },
  // 删除租户
  {
    url: '/cc/tenant/delete',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        responseTime: 1593321093655,
        data: {}
      }
    }
  }
]
