VersionUpdate TimeStatusAuthorDescription

v2021-10-14 14:08:21

2021-10-14 14:08:21

auto

@finegirl

Created by smart-doc

1. 一件事微信对外服务接口

1.1. 一件事主题列表(包含主题包)

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 一件事主题列表(包含主题包)

Query-parameters:

ParameterTypeDescriptionRequiredSince

openId

string

微信开放id

false

-

type

int32

主题包类型(1:个人服务,2:企业服务)

false

-

page

int32

当前请求页数

false

-

limit

int32

每页记录数

false

-

keywords

string

搜索关键词

false

-

Request-example:

curl -X POST -i http://localhost:28080/zwfw/proced/thing/oneTopiclist --data 'keywords=s5oj61&limit=10&type=246&openId=8&page=1'

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─any object

object

any object.

-

Response-example:

{
  "code": 589,
  "msg": "d0333u",
  "data": [
    {
      "mapKey": {
        "waring": "You may use java.util.Object for Map value; smart-doc can't be handle."
      }
    }
  ]
}

1.2. 问答答案提交后返回的详细结果

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 问答答案提交后返回的详细结果

Query-parameters:

ParameterTypeDescriptionRequiredSince

openId

string

微信开放id

false

-

optionIds

array

问答最后答案选项ID(多问题线)

false

-

key

string

问题路线id?

false

-

Request-example:

curl -X POST -i http://localhost:28080/zwfw/proced/thing/ansResults --data 'key=2wh5u4&openId=8'

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─matterInfoList

array

事项列表列表

-

     └─id

int64

事项id

-

     └─matterName

string

事项名称

-

└─acceptInfoList

array

受理条件列表

-

     └─matterId

int64

事项id

-

     └─title

string

受理条件

-

     └─content

string

受理条件

-

└─flowLimitInfoList

array

办理流程列表

-

     └─matterId

int64

事项matter id

-

     └─flowName

string

办理流程

-

     └─flowTime

string

办理时长

-

     └─flowTurnOut

string

转外时限

-

     └─flowDesc

string

办理流程说明

-

└─datumInfoList

array

事项材料列表

-

     └─id

int64

材料id

-

     └─materialName

string

材料名

-

     └─matterId

int64

事项Id

-

     └─materialProperty

string

材料形式

-

     └─isMust

string

是否必交,0 否 1 是 默认0

-

     └─materialType

string

材料类型

-

     └─electronicgs

string

电子材料格式

-

     └─materialSource

string

材料来源渠道

-

     └─paperNum

int32

纸质材料份数

-

     └─paperGg

string

纸质材料规格

-

     └─jianmMs

string

减免模式

-

     └─sealWay

string

盖章方式

-

     └─isjianm

string

是否减免

-

     └─isLack

string

材料是否容缺

-

     └─materialSourceSm

string

来源渠道说明

-

     └─remarkSub

string

填报须知

-

     └─remark

string

受理标准

-

     └─clauseContent

string

要求提供材料的依据

-

     └─summary

string

备注

-

     └─createTime

string

材料创建时间

-

     └─attachList

array

No comments found.

-

          └─datumid

int64

材料id

-

          └─fileName

string

附件名称

-

          └─fileUrl

string

附件下载地址

-

          └─filetype

int32

附件类型 1 示例样表 2空白表格 默认1

-

└─qAndAInfoList

array

常见问题列表

-

     └─matterId

int64

事项id

-

     └─question

string

问题

-

     └─answer

string

回答

-

Response-example:

{
  "code": 266,
  "msg": "uelqw8",
  "data": {
    "matterInfoList": [
      {
        "id": 1,
        "matterName": "涛.贾"
      }
    ],
    "acceptInfoList": [
      {
        "matterId": 730,
        "title": "gpwgxw",
        "content": "1c2k3d"
      }
    ],
    "flowLimitInfoList": [
      {
        "matterId": 486,
        "flowName": "涛.贾",
        "flowTime": "2021-10-14 14:08:25",
        "flowTurnOut": "q45tec",
        "flowDesc": "cbpver"
      }
    ],
    "datumInfoList": [
      {
        "id": 979,
        "materialName": "涛.贾",
        "matterId": 419,
        "materialProperty": "m55tgc",
        "isMust": "bhhr1y",
        "materialType": "mv87h2",
        "electronicgs": "g472cx",
        "materialSource": "za5yw5",
        "paperNum": 929,
        "paperGg": "63v0ok",
        "jianmMs": "2eb80k",
        "sealWay": "p805vc",
        "isjianm": "b8jf3s",
        "isLack": "1mykqc",
        "materialSourceSm": "l8ga0s",
        "remarkSub": "sgfwet",
        "remark": "c5iv8a",
        "clauseContent": "gb0w1o",
        "summary": "oqq6r0",
        "createTime": "2021-10-14 14:08:26",
        "attachList": [
          {
            "datumid": 628,
            "fileName": "涛.贾",
            "fileUrl": "www.xn---xn--zqq-dl3p256h.co",
            "filetype": 557
          }
        ]
      }
    ],
    "qAndAInfoList": [
      {
        "matterId": 460,
        "question": "3bmjxe",
        "answer": "su7k4f"
      }
    ]
  }
}

1.3. 提交后请求返回数据

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 提交后请求返回数据

Query-parameters:

ParameterTypeDescriptionRequiredSince

key

string

No comments found.

false

-

open_id

string

No comments found.

false

-

Request-example:

curl -X POST -i http://localhost:28080/zwfw/proced/thing/datum_data --data 'open_id=8&key=lle15h'

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─matterInfoList

array

事项列表列表

-

     └─id

int64

事项id

-

     └─matterName

string

事项名称

-

└─acceptInfoList

array

受理条件列表

-

     └─matterId

int64

事项id

-

     └─title

string

受理条件

-

     └─content

string

受理条件

-

└─flowLimitInfoList

array

办理流程列表

-

     └─matterId

int64

事项matter id

-

     └─flowName

string

办理流程

-

     └─flowTime

string

办理时长

-

     └─flowTurnOut

string

转外时限

-

     └─flowDesc

string

办理流程说明

-

└─datumInfoList

array

事项材料列表

-

     └─id

int64

材料id

-

     └─materialName

string

材料名

-

     └─matterId

int64

事项Id

-

     └─materialProperty

string

材料形式

-

     └─isMust

string

是否必交,0 否 1 是 默认0

-

     └─materialType

string

材料类型

-

     └─electronicgs

string

电子材料格式

-

     └─materialSource

string

材料来源渠道

-

     └─paperNum

int32

纸质材料份数

-

     └─paperGg

string

纸质材料规格

-

     └─jianmMs

string

减免模式

-

     └─sealWay

string

盖章方式

-

     └─isjianm

string

是否减免

-

     └─isLack

string

材料是否容缺

-

     └─materialSourceSm

string

来源渠道说明

-

     └─remarkSub

string

填报须知

-

     └─remark

string

受理标准

-

     └─clauseContent

string

要求提供材料的依据

-

     └─summary

string

备注

-

     └─createTime

string

材料创建时间

-

     └─attachList

array

No comments found.

-

          └─datumid

int64

材料id

-

          └─fileName

string

附件名称

-

          └─fileUrl

string

附件下载地址

-

          └─filetype

int32

附件类型 1 示例样表 2空白表格 默认1

-

└─qAndAInfoList

array

常见问题列表

-

     └─matterId

int64

事项id

-

     └─question

string

问题

-

     └─answer

string

回答

-

Response-example:

{
  "code": 958,
  "msg": "9quwg4",
  "data": {
    "matterInfoList": [
      {
        "id": 296,
        "matterName": "涛.贾"
      }
    ],
    "acceptInfoList": [
      {
        "matterId": 220,
        "title": "efq9u5",
        "content": "diweeb"
      }
    ],
    "flowLimitInfoList": [
      {
        "matterId": 709,
        "flowName": "涛.贾",
        "flowTime": "2021-10-14 14:08:25",
        "flowTurnOut": "mvj62g",
        "flowDesc": "ggrnqf"
      }
    ],
    "datumInfoList": [
      {
        "id": 537,
        "materialName": "涛.贾",
        "matterId": 329,
        "materialProperty": "02i79n",
        "isMust": "3fao5n",
        "materialType": "vtd1j0",
        "electronicgs": "9ds6tw",
        "materialSource": "g9itz8",
        "paperNum": 303,
        "paperGg": "dei3vy",
        "jianmMs": "r8v2pc",
        "sealWay": "7tb23s",
        "isjianm": "hcj0b4",
        "isLack": "19sytk",
        "materialSourceSm": "kj5nla",
        "remarkSub": "oyjeq9",
        "remark": "rzv1q1",
        "clauseContent": "h9n0er",
        "summary": "qizf64",
        "createTime": "2021-10-14 14:08:26",
        "attachList": [
          {
            "datumid": 232,
            "fileName": "涛.贾",
            "fileUrl": "www.xn---xn--zqq-dl3p256h.co",
            "filetype": 914
          }
        ]
      }
    ],
    "qAndAInfoList": [
      {
        "matterId": 892,
        "question": "cetcvc",
        "answer": "oygcft"
      }
    ]
  }
}

1.4. 上传附件

Type: POST

Content-Type: multipart/form-data

Description: 上传附件

Query-parameters:

ParameterTypeDescriptionRequiredSince

file

file

No comments found.

true

-

Request-example:

curl -X POST -H 'Content-Type: multipart/form-data' -i http://localhost:28080/zwfw/proced/thing/uploadFile

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 329,
  "msg": "zbjxaj",
  "data": {
    "mapKey1": "9utfzl",
    "mapKey2": "s76h6f"
  }
}

1.5. 删除附件

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 删除附件

Query-parameters:

ParameterTypeDescriptionRequiredSince

openId

string

微信开放id

false

-

filePath

string

文件路径

false

-

Request-example:

curl -X POST -i http://localhost:28080/zwfw/proced/thing/delFile --data 'openId=8&filePath=oweg83'

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 226,
  "msg": "hee357",
  "data": "0j0v4i"
}

1.6. 查询用户信息

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 查询用户信息

Query-parameters:

ParameterTypeDescriptionRequiredSince

openId

string

微信开放id

false

-

Request-example:

curl -X POST -i http://localhost:28080/zwfw/proced/thing/searchMember --data 'openId=8'

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

└─id

object

No comments found.

-

└─createTime

string

创建时间

-

└─createUser

string

创建用户

-

└─createUserId

int64

No comments found.

-

└─deleted

int32

No comments found.

-

└─createUserName

string

创建用户名称

-

└─createUserDeptId

int64

No comments found.

-

└─createUserDeptName

string

No comments found.

-

└─updateTime

string

No comments found.

-

└─updateUser

string

No comments found.

-

└─updateUserId

int64

No comments found.

-

└─updateUserName

string

No comments found.

-

└─updateUserDeptId

int64

No comments found.

-

└─updateUserDeptName

string

No comments found.

-

└─idcardName

string

姓名

-

└─idcardSex

string

性别

-

└─idcardNation

string

民族

-

└─idcardBorn

string

出生

-

└─idcardAddress

string

地址

-

└─idcardIDCardNo

string

身份证号

-

└─idcardGrantDept

string

发证机关

-

└─idcardUserLifeBegin

string

有效期开始

-

└─idcardUserLifeEnd

string

有效期结束

-

└─idcardDataPhotoFileName

string

照片

-

└─phone

string

手机号

-

└─unionid

string

unionid,同一个微信开放平台的唯一标识

-

└─openId

string

微信openId

-

└─picImage

string

头像地址

-

└─nickname

string

昵称

-

└─realName

string

真实姓名

-

└─gender

string

1:男,2:女

-

└─icon

string

微信头像

-

└─zImg

string

身份证正面照片

-

└─bImg

string

身份证背面照片

-

└─siteid

int64

默认选择的站点id

-

└─username

string

天府通办用户名

-

└─lasttime

string

最后登录时间

-

└─remark

string

备注

-

└─status

int32

用户状态,0:正常,1:禁用,默认0

-

Response-example:

{
  "code": 179,
  "msg": "fsyvp3",
  "data": {
    "id": "cai239",
    "createTime": "2021-10-14 14:08:26",
    "createUser": "r0h99d",
    "createUserId": 762,
    "deleted": 622,
    "createUserName": "涛.贾",
    "createUserDeptId": 895,
    "createUserDeptName": "涛.贾",
    "updateTime": "2021-10-14 14:08:26",
    "updateUser": "f20aa7",
    "updateUserId": 145,
    "updateUserName": "涛.贾",
    "updateUserDeptId": 645,
    "updateUserDeptName": "涛.贾",
    "idcardName": "涛.贾",
    "idcardSex": "ick0su",
    "idcardNation": "k5idzu",
    "idcardBorn": "rlqzzc",
    "idcardAddress": "段侬14号, 泸州, 吉 709471",
    "idcardIDCardNo": "a7n8yp",
    "idcardGrantDept": "2wxv1a",
    "idcardUserLifeBegin": "7zdvw9",
    "idcardUserLifeEnd": "q3wabp",
    "idcardDataPhotoFileName": "涛.贾",
    "phone": "17002625379",
    "unionid": "8",
    "openId": "8",
    "picImage": "aq96u5",
    "nickname": "wallace.wolf",
    "realName": "涛.贾",
    "gender": "5qh8vz",
    "icon": "x0hues",
    "zImg": "lmxjfw",
    "bImg": "gm7p3o",
    "siteid": 286,
    "username": "涛.贾",
    "lasttime": "2021-10-14 14:08:26",
    "remark": "ue8e9r",
    "status": 274
  }
}

1.7. 一件事办理资料提交

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 一件事办理资料提交

Query-parameters:

ParameterTypeDescriptionRequiredSince

openId

string

微信开放id

false

-

classifyTopicId

int64

申请主题包id

false

-

siteId

int64

站点ID

false

-

name

string

申请人姓名

false

-

phone

string

电话

false

-

idcard

string

身份证

false

-

isAgent

int32

0本人办理 1代办

false

-

manner

int32

0自主取件 1代办领取 (取件方式)

false

-

matterReqList

array

申请事项列表

false

-

└─matterid

int64

事项ID

false

-

└─attachmentList

array

申请材料列表

false

-

     └─datumId

int64

材料id

false

-

     └─fileName

string

附件名称

false

-

     └─filepath

string

附件存储地址

false

-

Request-example:

curl -X POST -i http://localhost:28080/zwfw/proced/thing/submitDatum --data 'matterReqList[0].attachmentList[0].datumId=10&manner=278&matterReqList[0].attachmentList[0].fileName=涛.贾&matterReqList[0].matterid=383&name=涛.贾&classifyTopicId=678&openId=8&phone=17002625379&isAgent=744&matterReqList[0].attachmentList[0].filepath=fkdlh3&siteId=831&idcard=371208198101227551'

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

object

No comments found.

-

Response-example:

{
  "code": 419,
  "msg": "71tih6",
  "data": "8hkyn9"
}

1.8. 我的办理

Type: POST

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 我的办理

Query-parameters:

ParameterTypeDescriptionRequiredSince

openId

string

微信开放id

false

-

Request-example:

curl -X POST -i http://localhost:28080/zwfw/proced/thing/myHandle --data 'openId=8'

Response-fields:

FieldTypeDescriptionSince

code

int32

No comments found.

-

msg

string

No comments found.

-

data

array

No comments found.

-

└─id

object

No comments found.

-

└─createTime

string

创建时间

-

└─createUser

string

创建用户loginName

-

└─createUserId

int64

No comments found.

-

└─deleted

int32

No comments found.

-

└─createUserName

string

No comments found.

-

└─createUserDeptId

int64

No comments found.

-

└─createUserDeptName

string

No comments found.

-

└─updateTime

string

变更时间

-

└─updateUser

string

变更用户loginName

-

└─updateUserId

int64

No comments found.

-

└─updateUserName

string

No comments found.

-

└─updateUserDeptId

int64

No comments found.

-

└─updateUserDeptName

string

No comments found.

-

└─taskId

string

流程任务id

-

└─processInstanceId

string

流程实例id

-

└─memberId

int64

微信用户ID

-

└─openId

string

微信OPENID

-

└─classifyTopicId

int64

申请主题包id

-

└─address

string

邮寄地址

-

└─linkman

string

联系人

-

└─phone

int32

联系电话

-

└─manner

int32

取件方式 0自主取件 1邮寄

-

└─getnum

string

取件码

-

└─number

string

快递单号

-

└─isAgent

int32

是否代办 0是本人办理 1他人代办

-

└─isRevoke

int32

0是否撤销 1撤销

-

└─siteid

int32

站点ID

-

└─status

int32

审批状态 0未审核 1 审核中 2 审核成功

-

Response-example:

{
  "code": 837,
  "msg": "d5gx82",
  "data": [
    {
      "id": "c2wdgt",
      "createTime": "2021-10-14 14:08:26",
      "createUser": "rrbbak",
      "createUserId": 780,
      "deleted": 337,
      "createUserName": "涛.贾",
      "createUserDeptId": 633,
      "createUserDeptName": "涛.贾",
      "updateTime": "2021-10-14 14:08:26",
      "updateUser": "quz0e7",
      "updateUserId": 151,
      "updateUserName": "涛.贾",
      "updateUserDeptId": 740,
      "updateUserDeptName": "涛.贾",
      "taskId": "8",
      "processInstanceId": "8",
      "memberId": 737,
      "openId": "8",
      "classifyTopicId": 340,
      "address": "段侬14号, 泸州, 吉 709471",
      "linkman": "gjw7hu",
      "phone": 981,
      "manner": 696,
      "getnum": "iw5v65",
      "number": "w6s606",
      "isAgent": 132,
      "isRevoke": 547,
      "siteid": 651,
      "status": 944
    }
  ]
}

2. 错误码列表

Error codeDescription

200

ok

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

415

Unsupported Media Type

500

Internal Server Error

502

Bad Gateway

503

Service Unavailable

Top