行业区域政企通

domain说明

序号 系统 环境 地址 备注
1 卓易政企通 测试 https://test-gateway.eazytec-cloud.com 适用【园企通】【行业政企通】【乡镇政企通】【协会政企通】
2 卓易政企通 线上 https://gateway.eazytec-cloud.com 适用【园企通】【行业政企通】【乡镇政企通】【协会政企通】
3 宜兴政企通 测试 https://test-gateway.eazytec-cloud.com/YX 适用【宜兴政企通】
4 宜兴政企通 线上 https://gateway.eazytec-cloud.com/YX 适用【宜兴政企通】
5 宜兴政企通 线上-政务外网 http://10.36.12.1:8000/YX(vpn) http://2.18.243.11:8000/YX(政务外网) 适用【宜兴政企通-政务外网】
6 江苏政企通 测试 https://test-gateway.eazytec-cloud.com/JS 适用【江苏政企通】
7 江苏政企通 线上 https://gateway.eazytec-cloud.com/JS 适用【江苏政企通】

审批执法一体化政企通

domain说明

序号 系统 环境 地址 备注
1 审批执法-江苏省 线上 https://gateway.jsspzf.com 适用【审批执法一体化:江苏省】
2 审批执法-新吴 线上 http://36.156.152.86:8000 临时开放的互联网地址,后期会有互联网域名和政务外网ip之分

部门接口

序号 接口详情 地址
1.1 获取企业所有部门列表 {domain}/AGCS_zqc/v2/dept/extra/list
1.2 获取企业部门详情 {domain}/AGCS_zqc/v2/dept/extra/detail
1.3 获取子部门列表 {domain}/AGCS_zqc/v2/dept/extra/children
1.4 创建部门 {domain}/AGCS_zqc/v2/dept/extra/create
1.5 编辑部门 {domain}/AGCS_zqc/v2/dept/extra/edit
1.6 删除部门 {domain}/AGCS_zqc/v2/dept/extra/del
1.7 获取部门树 {domain}/AGCS_zqc/v2/dept/extra/com_tree

1.1 获取部门列表

  • 请求URL

    {domain}/v2/dept/extra/list

  • 请求方式

    GET

  • 请求Header参数

key value 举例 是否必须
Authorization Bearer+空格+token Bearer XXXXXX
  • 请求Query参数
参数 描述 格式 举例 是否必须
id 企业Id Long
  • 返回 > 返回成功
      {
        "data": [
          {
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1524135853836,
            "deptCode": "0001",
            "deptNum": 6,
            "depthiding": "0",
            "id": "db3935ad-1f39-4634-9029-cbbbfd3f81bc",
            "isdel": "0",
            "level": 1,
            "name": "管理委员会",
            "orders": 1,
            "parentid": "0"
          }
        ],
        "msg": "success",
        "status": 200
      }
    
参数 描述 格式
status 请求结果返回码:“200”为请求成功,其他均为失败。 整数
msg 请求结果:成功“success”,失败“fail”。 string
data 请求成功时表示部门列表,请求失败会返回失败原因! boolean

对于data

参数 描述
id 部门id 整数
companyId 企业id
deptCode 部门编号
deptNum 部门人数
depthiding “0”表示显示,“1”表示隐藏
isdel “0”表示不删除,“1”表示删除
level 部门级别
name 部门名称
orders 部门排序
parentid 上级部门id
createById 创建人id
createByName 创建人姓名
ctime 创建时间戳

1.2 获取部门详情

  • 请求URL

    {domain}/v2/dept/extra/detail

  • 请求方式

    GET

  • 请求Header参数

key value 举例 是否必须
Authorization Bearer+空格+token Bearer XXXXXX
  • 请求Query参数
参数 描述 格式 举例 是否必须
id 部门Id String
  • 返回 > 返回成功
      {
        "data": {
          "companyId": 1,
          "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
          "createByName": "谢智",
          "ctime": 1525758281942,
          "deptCode": "0018",
          "deptNum": 0,
          "depthiding": "0",
          "id": "0d5605c8-45f2-449f-a9a1-0bdb84d4fa07",
          "isdel": "0",
          "level": 1,
          "name": "测试部门",
          "orders": 18,
          "parentid": "0"
        },
        "msg": "success",
        "status": 200
      }
    
参数 描述 格式
status 请求结果返回码:“200”为请求成功,其他均为失败。 整数
msg 请求结果:成功“success”,失败“fail”。 string
data 请求成功时表示部门列表,请求失败会返回失败原因! boolean

对于data

参数 描述
id 部门id
companyId 企业id
deptCode 部门编号
deptNum 部门人数
depthiding “0”表示显示,“1”表示隐藏
isdel “0”表示不删除,“1”表示删除
level 部门级别
name 部门名称
orders 部门排序
parentid 上级部门id
createById 创建人id
createByName 创建人姓名
ctime 创建时间戳

1.3 获取子部门列表

  • 请求URL

    {domain}/v2/dept/extra/children

  • 请求方式

    GET

  • 请求Header参数

key value 举例 是否必须
Authorization Bearer+空格+token Bearer XXXXXX
  • 请求Query参数
参数 描述 格式 举例 是否必须
id 部门Id,根节点默认Id为“0” String
companyId 企业Id Long
  • 返回 > 返回成功
      {
        "data": [
          {
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1524137449906,
            "deptCode": "00030001",
            "deptNum": 0,
            "depthiding": "0",
            "id": "cdc8e577-47e2-4039-bf47-ab69589db82c",
            "isdel": "0",
            "level": 2,
            "name": "项目管理部",
            "orders": 1,
            "parentid": "78941153-b24a-4ae4-ac7a-b6c2b8d52170"
          }
        ],
        "msg": "success",
        "status": 200
      }
    
参数 描述 格式
status 请求结果返回码:“200”为请求成功,其他均为失败。 整数
msg 请求结果:成功“success”,失败“fail”。 string
data 请求成功时表示部门列表,请求失败会返回失败原因! boolean

对于data

参数 描述 格式
id 部门id 整数
companyId 企业id
deptCode 部门编号
deptNum 部门人数
depthiding “0”表示显示,“1”表示隐藏
isdel “0”表示不删除,“1”表示删除
level 部门级别
name 部门名称
orders 部门排序
parentid 上级部门id
createById 创建人id
createByName 创建人姓名
ctime 创建时间戳

1.4 创建部门

  • 请求URL

    {domain}/v2/dept/extra/create

  • 请求方式

    POST

  • 请求Header参数

key value 举例 是否必须
Authorization Bearer+空格+token Bearer XXXXXX
  • 请求Body

Type: raw

    { 
    "name": "测试API部门" ,
    "parentid": "0" ,
    "companyId": 1 
    }
  • 返回 > 返回成功
      {
        "data": {
          "companyId": 1,
          "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
          "createByName": "谢智",
          "ctime": 1527646788090,
          "deptCode": "0019",
          "deptNum": 0,
          "depthiding": "0",
          "id": "36d031e3-c810-41d0-907c-7cffe163a5b3",
          "isdel": "0",
          "level": 1,
          "name": "测试API部门",
          "orders": 19,
          "parentid": "0"
        },
        "msg": "success",
        "status": 200
      }
    
参数 描述 格式
status 请求结果返回码:“200”为请求成功,其他均为失败。 整数
msg 请求结果:成功“success”,失败“fail”。 string
data 请求成功时表示部门列表,请求失败会返回失败原因! boolean

对于data

参数 描述
id 部门id
companyId 企业id
deptCode 部门编号
deptNum 部门人数
depthiding “0”表示显示,“1”表示隐藏
isdel “0”表示不删除,“1”表示删除
level 部门级别
name 部门名称
orders 部门排序
parentid 上级部门id
createById 创建人id
createByName 创建人姓名
ctime 创建时间戳

1.5 编辑部门(暂时只支持部门名称编辑)

  • 请求URL

    {domain}/v2/dept/extra/edit

  • 请求方式

    PATCH

  • 请求Header参数

key value 举例 是否必须
Authorization Bearer+空格+token Bearer XXXXXX
  • 请求Body

Type: raw

    { 
      "name": "测试API部门-编辑",
      "orders": 1,
      "id": "36d031e3-c810-41d0-907c-7cffe163a5b3"
     }
  • 返回 > 返回成功
      {
        "data": "编辑成功!",
        "msg": "success",
        "status": 200
      }
    
参数 描述 格式
status 请求结果返回码:“200”为请求成功,其他均为失败。 整数
msg 请求结果:成功“success”,失败“fail”。 string
data 请求成功时表示部门列表,请求失败会返回失败原因! boolean

1.6 删除部门

  • 请求URL

    {domain}/v2/dept/extra/del

  • 请求方式

    DELETE

  • 请求Header参数

key value 举例 是否必须
Authorization Bearer+空格+token Bearer XXXXXX
  • 请求Query参数
参数 描述 格式 举例 是否必须
deptId 部门Id String
  • 返回 > 返回成功
      {
        "data": "success",
        "msg": "success",
        "status": 200
      }
    
参数 描述 格式
status 请求结果返回码:“200”为请求成功,其他均为失败。 整数
msg 请求结果:成功“success”,失败“fail”。 string
data 请求成功时表示部门列表,请求失败会返回失败原因! boolean

1.7 获取部门树

  • 请求URL

    {domain}/v2/dept/extra/com_tree

  • 请求方式

    GET

  • 请求Header参数

key value 举例 是否必须
Authorization Bearer+空格+token Bearer XXXXXX
  • 请求Query参数
参数 描述 格式 举例 是否必须
comId 企业Id Long
  • 返回 > 返回成功
      {
        "data": [
          {
            "children": [
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138499746,
                "deptCode": "00140008",
                "deptNum": 0,
                "depthiding": "0",
                "id": "128b4328-de25-425a-aa11-4a40c32cb69a",
                "isdel": "0",
                "level": 2,
                "name": "财务部",
                "orders": 8,
                "parentid": "00f955f9-e487-4548-9e9b-45d89ef885d4"
              },
              {
                "children": [],
                "companyId": 259,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138348897,
                "deptCode": "00140004",
                "deptNum": 0,
                "depthiding": "0",
                "id": "4e37cb60-82c3-4779-95a6-22445b3c00fa",
                "isdel": "0",
                "level": 2,
                "name": "合众力行",
                "orders": 4,
                "parentid": "00f955f9-e487-4548-9e9b-45d89ef885d4"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138519277,
                "deptCode": "00140009",
                "deptNum": 0,
                "depthiding": "0",
                "id": "6c4adfb7-6582-433e-ad90-edd54e448c1b",
                "isdel": "0",
                "level": 2,
                "name": "行政人事部",
                "orders": 9,
                "parentid": "00f955f9-e487-4548-9e9b-45d89ef885d4"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138254999,
                "deptCode": "00140001",
                "deptNum": 0,
                "depthiding": "0",
                "id": "72c7c448-6379-468a-8c1d-a8ae72b9d2d2",
                "isdel": "0",
                "level": 2,
                "name": "软件技术服务部",
                "orders": 1,
                "parentid": "00f955f9-e487-4548-9e9b-45d89ef885d4"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138379305,
                "deptCode": "00140005",
                "deptNum": 0,
                "depthiding": "0",
                "id": "76ea6175-e91c-46b7-808e-03215189a283",
                "isdel": "0",
                "level": 2,
                "name": "研发二部",
                "orders": 5,
                "parentid": "00f955f9-e487-4548-9e9b-45d89ef885d4"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138300832,
                "deptCode": "00140002",
                "deptNum": 0,
                "depthiding": "0",
                "id": "d0c3cd17-a56d-4646-bc85-c74c68f49fc5",
                "isdel": "0",
                "level": 2,
                "name": "研发一部",
                "orders": 2,
                "parentid": "00f955f9-e487-4548-9e9b-45d89ef885d4"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138306255,
                "deptCode": "00140003",
                "deptNum": 0,
                "depthiding": "0",
                "id": "d3bcba9c-8c75-4b28-9e64-c07dfdde4b15",
                "isdel": "0",
                "level": 2,
                "name": "QA",
                "orders": 3,
                "parentid": "00f955f9-e487-4548-9e9b-45d89ef885d4"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138471569,
                "deptCode": "00140007",
                "deptNum": 0,
                "depthiding": "0",
                "id": "ee7ca18b-b250-4c49-b327-774db78fca7e",
                "isdel": "0",
                "level": 2,
                "name": "销售部",
                "orders": 7,
                "parentid": "00f955f9-e487-4548-9e9b-45d89ef885d4"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138389923,
                "deptCode": "00140006",
                "deptNum": 0,
                "depthiding": "0",
                "id": "eefc735b-5643-4987-bc55-c85887c56c14",
                "isdel": "0",
                "level": 2,
                "name": "业务运作部",
                "orders": 6,
                "parentid": "00f955f9-e487-4548-9e9b-45d89ef885d4"
              }
            ],
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1524137093326,
            "deptCode": "0014",
            "deptNum": 0,
            "depthiding": "0",
            "id": "00f955f9-e487-4548-9e9b-45d89ef885d4",
            "isdel": "0",
            "level": 1,
            "name": "南京百敖",
            "orders": 14,
            "parentid": "0"
          },
          {
            "children": [],
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1525758281942,
            "deptCode": "0018",
            "deptNum": 1,
            "depthiding": "0",
            "id": "0d5605c8-45f2-449f-a9a1-0bdb84d4fa07",
            "isdel": "0",
            "level": 1,
            "name": "测试部门",
            "orders": 18,
            "parentid": "0"
          },
          {
            "children": [],
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1524137012958,
            "deptCode": "0012",
            "deptNum": 0,
            "depthiding": "0",
            "id": "1f984983-98bb-4d38-9c49-e8c9eb516339",
            "isdel": "0",
            "level": 1,
            "name": "卓易物业",
            "orders": 12,
            "parentid": "0"
          },
          {
            "children": [],
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1524136801547,
            "deptCode": "0007",
            "deptNum": 0,
            "depthiding": "0",
            "id": "206c7a77-c7de-4108-ac10-41de70aabf37",
            "isdel": "0",
            "level": 1,
            "name": "政府项目部",
            "orders": 7,
            "parentid": "0"
          },
          {
            "children": [
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137274460,
                "deptCode": "00020003",
                "deptNum": 0,
                "depthiding": "0",
                "id": "1b5b2861-e435-4a9d-a9ee-08ff03a7c835",
                "isdel": "0",
                "level": 2,
                "name": "销售三部",
                "orders": 3,
                "parentid": "26eea150-2611-4182-b948-232ac31cc260"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137253158,
                "deptCode": "00020001",
                "deptNum": 0,
                "depthiding": "0",
                "id": "c1793481-b9a4-4aa7-82d2-a153c22170f5",
                "isdel": "0",
                "level": 2,
                "name": "销售一部",
                "orders": 1,
                "parentid": "26eea150-2611-4182-b948-232ac31cc260"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137262520,
                "deptCode": "00020002",
                "deptNum": 0,
                "depthiding": "0",
                "id": "fa34740d-c48f-4cb3-8ffa-35e7292b9cff",
                "isdel": "0",
                "level": 2,
                "name": "销售二部",
                "orders": 2,
                "parentid": "26eea150-2611-4182-b948-232ac31cc260"
              }
            ],
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1524135869681,
            "deptCode": "0002",
            "deptNum": 0,
            "depthiding": "0",
            "id": "26eea150-2611-4182-b948-232ac31cc260",
            "isdel": "0",
            "level": 1,
            "name": "销售部",
            "orders": 2,
            "parentid": "0"
          },
          {
            "children": [],
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1525603548243,
            "deptCode": "0016",
            "deptNum": 4,
            "depthiding": "0",
            "id": "56d83757-a8cf-4499-9af9-decc4a4a3a10",
            "isdel": "0",
            "level": 1,
            "name": "顾问",
            "orders": 16,
            "parentid": "0"
          },
          {
            "children": [
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137793178,
                "deptCode": "00050003",
                "deptNum": 0,
                "depthiding": "0",
                "id": "6b960309-077d-4e25-8da4-aa2deebd260e",
                "isdel": "0",
                "level": 2,
                "name": "新环保云",
                "orders": 3,
                "parentid": "58828476-4435-4597-8fdb-ae749011b56e"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138042893,
                "deptCode": "00050009",
                "deptNum": 0,
                "depthiding": "0",
                "id": "7b2eeb57-1dd1-4899-850b-6dba46e1cd53",
                "isdel": "0",
                "level": 2,
                "name": "数据爬虫",
                "orders": 9,
                "parentid": "58828476-4435-4597-8fdb-ae749011b56e"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138009781,
                "deptCode": "00050007",
                "deptNum": 0,
                "depthiding": "0",
                "id": "9dd7ddba-570b-45ca-8584-2ff6d8f845a9",
                "isdel": "0",
                "level": 2,
                "name": "测试组",
                "orders": 7,
                "parentid": "58828476-4435-4597-8fdb-ae749011b56e"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137805176,
                "deptCode": "00050004",
                "deptNum": 0,
                "depthiding": "0",
                "id": "a4513263-9533-4955-9227-f9172d22c5eb",
                "isdel": "0",
                "level": 2,
                "name": "网站、资源池组",
                "orders": 4,
                "parentid": "58828476-4435-4597-8fdb-ae749011b56e"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137769455,
                "deptCode": "00050001",
                "deptNum": 0,
                "depthiding": "0",
                "id": "bafb7be5-5d0c-4f6c-9774-f08af517de81",
                "isdel": "0",
                "level": 2,
                "name": "智慧园区",
                "orders": 1,
                "parentid": "58828476-4435-4597-8fdb-ae749011b56e"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524138029270,
                "deptCode": "00050008",
                "deptNum": 0,
                "depthiding": "0",
                "id": "f08e8b00-851d-404d-aac4-a7e37c8e3404",
                "isdel": "0",
                "level": 2,
                "name": "信用组",
                "orders": 8,
                "parentid": "58828476-4435-4597-8fdb-ae749011b56e"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137908308,
                "deptCode": "00050005",
                "deptNum": 0,
                "depthiding": "0",
                "id": "f3cae18c-c312-4813-8cae-89305cf6b238",
                "isdel": "0",
                "level": 2,
                "name": "大数据组",
                "orders": 5,
                "parentid": "58828476-4435-4597-8fdb-ae749011b56e"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137914942,
                "deptCode": "00050006",
                "deptNum": 12,
                "depthiding": "0",
                "id": "f6bde94e-6c95-4959-96fb-6bed78615aed",
                "isdel": "0",
                "level": 2,
                "name": "政企通",
                "orders": 6,
                "parentid": "58828476-4435-4597-8fdb-ae749011b56e"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137784950,
                "deptCode": "00050002",
                "deptNum": 0,
                "depthiding": "0",
                "id": "f78eb6b1-2266-4b4d-a517-22ccddd2968f",
                "isdel": "0",
                "level": 2,
                "name": "OA、易工作",
                "orders": 2,
                "parentid": "58828476-4435-4597-8fdb-ae749011b56e"
              }
            ],
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1524136252565,
            "deptCode": "0005",
            "deptNum": 12,
            "depthiding": "0",
            "id": "58828476-4435-4597-8fdb-ae749011b56e",
            "isdel": "0",
            "level": 1,
            "name": "研发与实施部",
            "orders": 5,
            "parentid": "0"
          },
          {
            "children": [
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137464181,
                "deptCode": "00030002",
                "deptNum": 0,
                "depthiding": "0",
                "id": "32bc19f0-ef98-4125-8291-ed3147072bb1",
                "isdel": "0",
                "level": 2,
                "name": "营销部",
                "orders": 2,
                "parentid": "78941153-b24a-4ae4-ac7a-b6c2b8d52170"
              },
              {
                "children": [],
                "companyId": 1,
                "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
                "createByName": "谢智",
                "ctime": 1524137656826,
                "deptCode": "00030003",
                "deptNum": 0,
                "depthiding": "0",
                "id": "bd0f6770-5f19-4d55-bd88-bf52c97ca46a",
                "isdel": "0",
                "level": 2,
                "name": "支持部",
                "orders": 3,
                "parentid": "78941153-b24a-4ae4-ac7a-b6c2b8d52170"
              }
            ],
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1524135885284,
            "deptCode": "0003",
            "deptNum": 1,
            "depthiding": "0",
            "id": "78941153-b24a-4ae4-ac7a-b6c2b8d52170",
            "isdel": "0",
            "level": 1,
            "name": "系统集成事业部",
            "orders": 3,
            "parentid": "0"
          },
          {
            "children": [],
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1524137075688,
            "deptCode": "0013",
            "deptNum": 1,
            "depthiding": "0",
            "id": "8c1be254-fa79-46b3-b912-77556738671e",
            "isdel": "0",
            "level": 1,
            "name": "证券投资部",
            "orders": 13,
            "parentid": "0"
          },
          {
            "children": [],
            "companyId": 1,
            "createById": "d93b0d28-1b9b-11e8-af62-6c92bf1b1840",
            "createByName": "谢智",
            "ctime": 1524136921958,
            "deptCode": "0011",
            "deptNum": 0,
            "depthiding": "0",
            "id": "9a13f64f-d185-472e-9987-cb9d6710692b",
            "isdel": "0",
            "level": 1,
            "name": "市场部",
            "orders": 11,
            "parentid": "0"
          }
        ],
        "msg": "success",
        "status": 200
      }
    
参数 描述 格式
status 请求结果返回码:“200”为请求成功,其他均为失败。 整数
msg 请求结果:成功“success”,失败“fail”。 string
data 请求成功时表示部门列表,请求失败会返回失败原因! boolean

对于data

参数 描述
id 部门id 整数
companyId 企业id
deptCode 部门编号
deptNum 部门人数
depthiding “0”表示显示,“1”表示隐藏
isdel “0”表示不删除,“1”表示删除
level 部门级别
name 部门名称
orders 部门排序
parentid 上级部门id
createById 创建人id
createByName 创建人姓名
ctime 创建时间戳
children 子部门列表,列表中的每一个对象同当前data
江苏卓易信息科技股份有限公司-TNG基础平台组 all right reserved,powered by Gitbook该文件最后修改时间: 2021-01-27 06:23:28

results matching ""

    No results matching ""