替换的消息更改
This commit is contained in:
parent
5c78ef4681
commit
4d7abe240c
@ -107,7 +107,7 @@ public class UserViolationAdjustCmdExe {
|
|||||||
private String adjustContent(UserProfile userProfile, ViolationTypeEnum violationType, Long userId) {
|
private String adjustContent(UserProfile userProfile, ViolationTypeEnum violationType, Long userId) {
|
||||||
switch (violationType) {
|
switch (violationType) {
|
||||||
case USER_NICKNAME:
|
case USER_NICKNAME:
|
||||||
return "用户" + userProfile.getAccount();
|
return userProfile.getAccount();
|
||||||
case USER_AVATAR:
|
case USER_AVATAR:
|
||||||
return enumConfigCacheService.getValue(EnumConfigKey.DEFAULT_USER_AVATAR, userProfile.getOriginSys());
|
return enumConfigCacheService.getValue(EnumConfigKey.DEFAULT_USER_AVATAR, userProfile.getOriginSys());
|
||||||
default:
|
default:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user