- PmHub介绍
- 项目管理
- 系统管理
- 流程管理
- 代码生成
- 定时任务
- 认证中心
- 技术派
- 通用文件上传接口POST
- 通用文件下载接口GET
- 通用文件下载接口POST
- 审批设置查询GET
- 审批人审批通过POST
- 本地登录-全局token获取POST
任务动态
POST
project/task/log/list
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参 数application/json
pageNum
integer
页码
pageSize
integer
页数
logType
integer
必需
taskId
string
任务id
示例
{
"pageNum": 1,
"pageSize": 10,
"type": -1,
"taskId": "ddddd"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:6880/project/task/log/list' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageNum":1,
"pageSize":10,
"type":-1,
"taskId":"ddddd"
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
data
array [object {16}]
必需
avatar
string
头像
content
string
内容
createdTime
string
创建时间
logType
integer
必需
logTypeName
string
必需
operateType
string
操作类型
projectId
string
项目id
projectLogId
string
日志id
projectName
string
项目名称
remark
string
备注:添加了评论
taskId
string
任务id
taskName
string
任务名称
type
string
必需
userId
integer
用户id
userName
string
用户名
nickName
string
中文名
示例
{
"msg": "操作成功",
"code": 200,
"data": [
{
"avatar": "/sss/ddd/a.jpg",
"content": "[{\"field\":\"status\",\"fieldName\":\"任务状态\",\"newValue\":\"进行中\",\"oldValue\":\"未开始\"}]",
"createdTime": "2022-12-23 16:37:57.629",
"logType": 1,
"logTypeName": "变更记录",
"operateType": "create",
"projectId": "ddd",
"projectLogId": "aaa",
"projectName": "项目",
"remark": "更新了状态",
"taskId": "dcc",
"taskName": "任务",
"type": "project",
"userId": 1,
"userName": "dengxinjiang"
},
{
"avatar": "/sss/ddd/a.jpg",
"content": "/sss/dd/fff.doc",
"createdTime": "2022-12-23 16:37:57.818",
"logType": 2,
"logTypeName": "交付物",
"operateType": "uploadTask",
"projectId": "ddd",
"projectLogId": "aaa",
"projectName": "项目",
"remark": "上传了交付物",
"taskId": "dcc",
"taskName": "任务",
"type": "project",
"userId": 1,
"userName": "dengxinjiang"
},
{
"avatar": "/sss/ddd/a.jpg",
"content": "<a class=\"at-member\">@邓新疆</a> <a class=\"at-member\">@邱银河</a> 你们一起玩",
"createdTime": "2022-12-23 16:37:57.818",
"logType": 3,
"logTypeName": "评论",
"operateType": "comment",
"projectId": "ddd",
"projectLogId": "aaa",
"projectName": "项目",
"remark": "添加了评论",
"taskId": "dcc",
"taskName": "任务",
"type": "project",
"userId": 1,
"userName": "dengxinjiang"
}
]
}
修改于 2024-03-02 16:00:16