Skip to content

功能概述

项目流程

接口访问

接口地址

project/process

请求方式 Method

GET

Header - Authorization Type : Bearer Token

属性类型长度必填默认值说明访问版本
tokenstring32true用户身份标识令牌-

请求参数

属性类型长度必填默认值说明
projectIDint11true土地编号
keywordstring256false搜索关键字
orderBystring32falseDESC排序 DESC/ASC

返回值

属性类型必填说明
idinttrue进度ID
titlestringtrue进度内容
sortstringtrue排序
materialsarraytrue项目流程
countinttrue当前进度下项目数量

materials

属性类型必填说明
idinttrue项目ID
contentstringtrue项目内容
createTimestringtrue项目创建时间
processTypeinttrue流程类型 1-基础 2-项目
filesarraytrue项目附件
usersarraytrue用户信息
commentarraytrue评论列表
serviceProviderListarraytrue服务商信息
isMebooltrue是否是当前登录用户

files

属性类型必填说明
idinttrue附件ID
materialTypeinttrue附件类型 1.文件 2.图片 3.视频
materialNamestringtrue附件名称
materialFileNamestringtrue附件文件名
materialUrlstringtrue附件URL
materialFileFormatstringtrue附件文件格式
materialFileSizeinttrue附件文件大小
materialRemarksstringtrue附件备注

users

属性类型必填说明
nicknamestringtrue昵称
mobilestringtrue联系方式
headImgUrlstringtrue头像地址

comment

属性类型必填说明
idinttrue评论编号
bpm_idinttrue流程编号
nicknamestringtrue昵称
headImgUrlstringtrue头像地址
isMeinttrue是否是当前登录用户
commentstringtrue评论内容
createTimestringtrue创建时间

serviceProviderList

属性类型必填说明
businessNamestringtrue服务商产品名称
companyNamestringtrue公司名称
businessDescstringtrue服务项介绍
paymentPricestringtrue价格
companyPhonestringtrue企业联系方式
serviceProviderNamestringtrue服务项名称
isAuthinttrue是否认证 0.否 1. 待审核 2.是 -2.拒绝
operationFlowstringtrue业务状态

返回示例

{
    "response": {
        "total": 2,
        "list": [
            {
                "id": 1,
                "title": "准备开始",
                "sort": 1,
                "materials": [
                    {
                        "id": 1,
                        "content": "准备完毕",
                        "processType": 1,
                        "createTime": "2025-04-10 10:30:44",
                        "files": [
                            {
                                "id": 1,
                                "bpm_id": 1,
                                "materialType": 2,
                                "materialName": "1da27c6bf7f8e4a91cc8cb38bd6cdbce.png?watermark/4/text/5qSw5oOz/fontsize/400/fill/Z3JheQ==/dissolve/50/rotate/30/uw/180/uh/180/resize/1",
                                "materialFileName": "1da27c6bf7f8e4a91cc8cb38bd6cdbce.png?watermark/4/text/5qSw5oOz/fontsize/400/fill/Z3JheQ==/dissolve/50/rotate/30/uw/180/uh/180/resize/1",
                                "materialUrl": "https://file.yeexiang.com/1da27c6bf7f8e4a91cc8cb38bd6cdbce.png?watermark/4/text/5qSw5oOz/fontsize/400/fill/Z3JheQ==/dissolve/50/rotate/30/uw/180/uh/180/resize/1",
                                "materialFileFormat": ".png",
                                "materialFileSize": 193,
                                "materialRemarks": ""
                            }
                        ],
                        "users": {
                            "nickname": "web3",
                            "mobile": "18789887516",
                            "headImgUrl": "https://file.yeexiang.com/6998d80560e974e7e283fccc96e9454f.jpg"
                        },
                        "comment": [
                            {
                                "id": 2,
                                "bpm_id": 1,
                                "nickname": "web3",
                                "headImgUrl": "https://file.yeexiang.com/6998d80560e974e7e283fccc96e9454f.jpg",
                                "comment": "可以可以",
                                "createTime": "2025-04-10 10:31:08"
                            }
                        ],
                        "serviceProviderList": null,
                        "isMe": true
                    },
                    {
                        "id": 11,
                        "content": "",
                        "processType": 2,
                        "createTime": "2025-04-10 11:31:25",
                        "files": [],
                        "users": {
                            "nickname": "web3",
                            "mobile": "18789887516",
                            "headImgUrl": "https://file.yeexiang.com/6998d80560e974e7e283fccc96e9454f.jpg"
                        },
                        "comment": [],
                        "serviceProviderList": {
                            "businessName": "咨询",
                            "companyName": "demo",
                            "businessDesc": "事实上",
                            "paymentPrice": 1,
                            "companyPhone": "",
                            "serviceProviderName": "咨询",
                            "isAuth": 2,
                            "operationFlow": "客户确认"
                        },
                        "isMe": true
                    },
                    {
                        "id": 12,
                        "content": "内容1\n内容2\n内容3",
                        "processType": 1,
                        "createTime": "2025-04-10 14:32:54",
                        "files": [
                            {
                                "id": 2,
                                "bpm_id": 12,
                                "materialType": 2,
                                "materialName": "ef01d16b4f3ba3c12caad6caa7abec12.jpg?watermark/4/text/5qSw5oOz/fontsize/400/fill/Z3JheQ==/dissolve/50/rotate/30/uw/180/uh/180/resize/1",
                                "materialFileName": "ef01d16b4f3ba3c12caad6caa7abec12.jpg?watermark/4/text/5qSw5oOz/fontsize/400/fill/Z3JheQ==/dissolve/50/rotate/30/uw/180/uh/180/resize/1",
                                "materialUrl": "https://file.yeexiang.com/ef01d16b4f3ba3c12caad6caa7abec12.jpg?watermark/4/text/5qSw5oOz/fontsize/400/fill/Z3JheQ==/dissolve/50/rotate/30/uw/180/uh/180/resize/1",
                                "materialFileFormat": ".jpg",
                                "materialFileSize": 88,
                                "materialRemarks": ""
                            }
                        ],
                        "users": {
                            "nickname": "web3",
                            "mobile": "18789887516",
                            "headImgUrl": "https://file.yeexiang.com/6998d80560e974e7e283fccc96e9454f.jpg"
                        },
                        "comment": [],
                        "serviceProviderList": null,
                        "isMe": true
                    },
                    {
                        "id": 13,
                        "content": "    换四行内容\n  换两行内容\n 一个空格内容",
                        "processType": 1,
                        "createTime": "2025-04-10 14:40:02",
                        "files": [],
                        "users": {
                            "nickname": "web3",
                            "mobile": "18789887516",
                            "headImgUrl": "https://file.yeexiang.com/6998d80560e974e7e283fccc96e9454f.jpg"
                        },
                        "comment": [],
                        "serviceProviderList": null,
                        "isMe": true
                    }
                ],
                "count": 4
            },
            {
                "id": 3,
                "title": "开工中",
                "sort": 2,
                "materials": [],
                "count": 0
            }
        ]
    },
    "requestId": "29eee822-6f10-4095-bd4c-f37db3e6047b"
}

错误码

错误码错误描述解决思路
30001项目信息不存在项目信息不存在,编号错误