|
|
|
@ -28,9 +28,12 @@ public class AskQuestionLibraryResVo {
|
|
|
|
|
@Schema(description = "由用户传入的问题生成的问题列表")
|
|
|
|
|
private List<String> question;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "用户设置的问题")
|
|
|
|
|
@Schema(description = "用户设置的问题,在v1.3版本中替换为standardQuestion",deprecated = true)
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "用户设置的问题")
|
|
|
|
|
private String standardQuestion;
|
|
|
|
|
|
|
|
|
|
@Schema(description = "默认回答")
|
|
|
|
|
private String defaultAnswer;
|
|
|
|
|
|
|
|
|
@ -52,4 +55,10 @@ public class AskQuestionLibraryResVo {
|
|
|
|
|
dicIdPath.add(Integer.parseInt(dictId));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void makeDescription(){
|
|
|
|
|
if (StrUtil.isEmpty(description)){
|
|
|
|
|
description = standardQuestion;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|