接口已全部新增完毕

This commit is contained in:
2024-12-30 17:52:46 +08:00
parent 29632f7d50
commit 90c2cf1ce0
10 changed files with 323 additions and 22 deletions
+19
View File
@@ -63,6 +63,25 @@ type ResCaseRecordDto struct {
Remark []*RemarkDto `json:"remark"` // 评论
}
// ResCaseBehaviorDto 病例用户操作行为
type ResCaseBehaviorDto struct {
TslUid string `json:"tsl_uid"` // 天士力系统uid
Sid string `json:"sid"` // 病例id
StartTime string `json:"starttime"` // 开始时间
EndTime string `json:"endtime"` // 结束时间
UseTime int `json:"usetime"` // 总用时单位秒
IsComplete int `json:"is_complete"` // 是否完成了问卷 1是,0 否
Action []*ActionDto `json:"action"` // 步骤数组
}
// ActionDto 病例用户操作行为-步骤数组
type ActionDto struct {
Step string `json:"step"` //步骤名称
In string `json:"in"` //进入时间
Out string `json:"out"` //结束时间
UseTime int `json:"usetime"` //用时 单位秒
}
// QuestionAnswerDto 病例领取记录-问题
type QuestionAnswerDto struct {
Question string `json:"question"` // 问题标题