替换的消息更改
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) {
|
||||
switch (violationType) {
|
||||
case USER_NICKNAME:
|
||||
return "用户" + userProfile.getAccount();
|
||||
return userProfile.getAccount();
|
||||
case USER_AVATAR:
|
||||
return enumConfigCacheService.getValue(EnumConfigKey.DEFAULT_USER_AVATAR, userProfile.getOriginSys());
|
||||
default:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user