# 成员事件

# 成员完成考试

事件类型:exam/event/finish

# 回调示例

{
	"action": "exam/event/finish",
	"attributes": {
		"exam_id": "e36d7e5a52f611ef99977a9a14f44f3b",
		"title": "考试",
		"process_id": 22092,
		"examinee": {
			"staff_id": "zhangsan",
			"begin_at": "2024-08-05 15:48:27",
			"finish_at": "2024-08-05 15:48:31",
			"exam_times": 2
		}
	},
	"operator": "lisi",
	"operator_info": {
		"name": "lisi"
	}
}
# 参数说明:
参数 说明
action 用户触发的事件行为类型
attributes.exam_id 考试的实体id
attributes.title 考试名称
attributes.process_id 考试关联进程id
attributes.examinee.staff_id 考试成员的账号id
attributes.examinee.begin_at 考试成员开始时间
attributes.examinee.finish_at 成员完成考试时间
attributes.examinee.exam_times 考试完成所花时间 单位:s
operator 触发者StaffID
operator_info.name 触发者姓名

# 考试完成批改

事件类型:exam/event/review

# 回调示例

{
	"action": "exam/event/review",
	"attributes": {
		"exam_id": "e36d7e5a52f611ef99977a9a14f44f3b",
		"title": "考试",
		"review_id": 14464,
		"examinee": {
			"staff_id": "zhangsan",
			"review_at": "2024-08-05 15:48:34"
		}
	},
	"operator": "gjrxiaohao",
	"operator_info": {
		"name": "gjrxiaohao"
	}
}
# 参数说明:
参数 说明
action 用户触发的事件行为类型
attributes.exam_id 考试的实体id
attributes.title 考试名称
attributes.review_id 考试关联的试卷批改id
attributes.examinee.staff_id 考试成员的账号id
attributes.examinee.review_at 试卷批改完成时间
operator 触发者StaffID
operator_info.name 触发者姓名

# 成员完成项目

事件类型:roadmap/pass/succeed

# 回调示例

{
	"action": "roadmap/pass/succeed",
	"attributes": {
		"roadmap_id": 6435,
		"title": "项目",
		"succeed_at": "2024-08-05 16:18:15"
	},
	"operator": "lisi",
	"operator_info": {
		"name": "lisi"
	}
}
# 参数说明:
参数 说明
action 用户触发的事件行为类型
attributes.roadmap_id 项目id
attributes.title 项目名称
attributes.succeed_at 成员完成项目时间
operator 触发者StaffID
operator_info.name 触发者姓名

# 成员完成课堂

事件类型:class/study_done

# 回调示例

{
  "action": "class/study_done",
  "attributes": {
    "class_id": "47ed63feab0311ef9f7fdef4226a8331",
    "title": "1125-同步课程A",
    "study_done_at": "2024-12-03 11:37:41",
    "learn_time": 30,
    "valid_learn_time": 20
  },
  "operator": "zhangsan",
  "operator_info": {
    "name": "张三"
  }
}
# 参数说明:
参数 说明
action 用户触发的事件行为类型
attributes.class_id 课堂ID
attributes.title 课堂名称
attributes.study_done_at 完成学习时间
attributes.learn_time 学习时长,单位:秒
attributes.valid_learn_time 有效学习时长,单位:秒
operator 触发者StaffID
operator_info.name 触发者姓名