Skip to content

Conversation

@PengyuDeng
Copy link
Contributor

No description provided.

String result = messageSource.getMessage(code, args, null, locale);
if (StringUtils.hasText(result)) {
return result;
return formatMessage(result, args, locale);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不需要再formatMessage了吧? 下同.

@PengyuDeng
Copy link
Contributor Author

似乎没问题,spring本身就是支持占位符的........

@PengyuDeng PengyuDeng closed this Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants