This commit is contained in:
2024-11-12 10:51:31 +08:00
parent 51af306add
commit 529de0728d
4 changed files with 28 additions and 5 deletions
+8
View File
@@ -163,3 +163,11 @@ func (r *QuestionQaDto) LoadQaQuestionQuantityContent(s string) *QuestionQaDto {
}
return r
}
// LoadQuestionQaTimerDto 加载计时设置
func (r *QuestionQaDto) LoadQuestionQaTimerDto(m []*model.QuestionQaTimer) *QuestionQaDto {
if len(m) > 0 {
r.QuestionQaTimer = GetQuestionQaTimerListDto(m)
}
return r
}
+1
View File
@@ -5,6 +5,7 @@ import (
"knowledge/api/model"
)
// QuestionQaTimerDto 知识问答-计时设置
type QuestionQaTimerDto struct {
TimerId string `json:"timer_id"` // 主键id
QaId string `json:"qa_id"` // 知识问答id