You've already forked FrameTour-BE
feat(biz): 修改模板未配置最小自动生成功能的默认行为
- 将日志信息从"默认不生成"修改为"默认生成!" - 设置 minimalPlaceholderFill 为 1,表示开启最小自动生成功能
This commit is contained in:
@@ -91,8 +91,8 @@ public class TemplateBiz {
|
|||||||
}
|
}
|
||||||
if (minimalPlaceholderFill == null) {
|
if (minimalPlaceholderFill == null) {
|
||||||
// 未开启
|
// 未开启
|
||||||
log.info("模板:{},未配置最小自动生成功能,默认不生成", templateId);
|
log.info("模板:{},未配置最小自动生成功能,默认生成!", templateId);
|
||||||
return false;
|
minimalPlaceholderFill = 1;
|
||||||
}
|
}
|
||||||
if (minimalPlaceholderFill <= 0) {
|
if (minimalPlaceholderFill <= 0) {
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user