Skip to content

Commit

Permalink
🐛修复错误的messages key
Browse files Browse the repository at this point in the history
  • Loading branch information
evil0th authored and Hccake committed May 7, 2024
1 parent 67127bc commit eb07a43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ public class I18nDataDTO {
/**
* 语言标签
*/
@NotEmpty(message = "{i18nMessage.message}:{}")
@NotEmpty(message = "{i18nMessage.languageTag}:{}")
@Schema(title = "语言标签")
private String languageTag;

/**
* 唯一标识 = 业务:关键词
*/
@NotEmpty(message = "{i18nMessage.message}:{}")
@NotEmpty(message = "{i18nMessage.code}:{}")
@Schema(title = "唯一标识 = 业务:关键词")
private String code;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ public class I18nDataExcelVO {
/**
* 语言标签
*/
@NotEmpty(message = "{i18nMessage.message}:{}")
@NotEmpty(message = "{i18nMessage.languageTag}:{}")
@ExcelProperty(value = "{i18nMessage.languageTag}", index = 0)
@Schema(title = "语言标签")
private String languageTag;

/**
* 国际化标识
*/
@NotEmpty(message = "{i18nMessage.message}:{}")
@NotEmpty(message = "{i18nMessage.code}:{}")
@ExcelProperty(value = "{i18nMessage.code}", index = 1)
@Schema(title = "国际化标识")
private String code;
Expand Down

0 comments on commit eb07a43

Please sign in to comment.