增加了题库不允许重复的业务逻辑12
This commit is contained in:
parent
ecc7c52314
commit
d56b6ce9df
@ -384,6 +384,8 @@ func (r *QuestionQaService) PutQuestionQa(qaId int64, req requests.PutQuestionQa
|
|||||||
if repeatQaIdStr != questionQa.RepeatQaId {
|
if repeatQaIdStr != questionQa.RepeatQaId {
|
||||||
questionQaData["repeat_qa_id"] = repeatQaIdStr
|
questionQaData["repeat_qa_id"] = repeatQaIdStr
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
questionQaData["repeat_qa_id"] = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
// 背景图
|
// 背景图
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user