Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -27,7 +27,7 @@ import java.util.Map;
|
||||
public class PreferenceUpdatePartialRequest implements Serializable {
|
||||
|
||||
@NotBlank
|
||||
@Size(max = 12)
|
||||
@Size(max = 16)
|
||||
@Schema(description = "类型")
|
||||
private String type;
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.io.Serializable;
|
||||
public class PreferenceUpdateRequest implements Serializable {
|
||||
|
||||
@NotBlank
|
||||
@Size(max = 12)
|
||||
@Size(max = 16)
|
||||
@Schema(description = "类型")
|
||||
private String type;
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ public class TerminalPreferenceStrategy extends AbstractGenericsDataStrategy<Ter
|
||||
.builder()
|
||||
.fontFamily("_")
|
||||
.fontSize(14)
|
||||
.lineHeight(1.12)
|
||||
.lineHeight(1.20)
|
||||
.letterSpacing(0)
|
||||
.fontWeight("normal")
|
||||
.fontWeightBold("bold")
|
||||
|
||||
@@ -396,6 +396,7 @@ public class DictValueServiceImpl implements DictValueService {
|
||||
Map<String, String> schema = dictKeyService.getDictSchema(key);
|
||||
// 转换
|
||||
return values.stream()
|
||||
.sorted(Comparator.comparing(DictValueDO::getSort))
|
||||
.map(s -> {
|
||||
// 设置值
|
||||
JSONObject item = new JSONObject();
|
||||
|
||||
Reference in New Issue
Block a user