Skip to content

获取项目活动记录列表 API

PathMethodCreated At
/api/projects/activities/paginatePOST2025-11-29 00:39:11

Request

KeyRuleDescription
project_idstring,size:24项目不存在
pageinteger,min:1,max:100页码必须是正整数
page_sizeinteger,min:5,max:1000每页数量必须是正整数

Response

KeyTypeExampleComment
idstring1活动记录ID
projectIdstring7da823项目编号
titlestring技术对接会议活动标题
projectStagestringSTARTED项目阶段
contentstring讨论项目技术方案,明确接口规范活动内容
startTimestring2024-12-19 09:00:00开始时间
endTimestring2024-12-19 12:00:00结束时间
workHoursfloat8.5工时
participantsobject_array参与人员
-> idint1用户编号
-> namestring张三姓名
attachmentsstring[{"name":"技术方案.pdf","url":"https://example.com/file1.pdf"}]附件
createdAtstring2024-12-19 14:52:00创建时间
createdByint1创建人
createdByNamestring李四创建人姓名
updatedAtstring2024-12-20 10:30:00更新时间
updatedByint2更新人
updatedByNamestring王五更新人姓名

TypeScript Result Example:

TypeScript
interface Participants {
  /** 用户编号 */
  id: number;
  /** 姓名 */
  name: string;
}

interface Result {
  /** 活动记录ID */
  id: string;
  /** 项目编号 */
  projectId: string;
  /** 活动标题 */
  title: string;
  /** 项目阶段 */
  projectStage: string;
  /** 活动内容 */
  content: string;
  /** 开始时间 */
  startTime: string;
  /** 结束时间 */
  endTime: string;
  /** 工时 */
  workHours: any;
  /** 参与人员 */
  participants: Participants[];
  /** 附件 */
  attachments: string;
  /** 创建时间 */
  createdAt: string;
  /** 创建人 */
  createdBy: number;
  /** 创建人姓名 */
  createdByName: string;
  /** 更新时间 */
  updatedAt: string;
  /** 更新人 */
  updatedBy: number;
  /** 更新人姓名 */
  updatedByName: string;
}