refactor: 优化兼容性

This commit is contained in:
zhouhao
2025-07-07 16:18:11 +08:00
parent f8ee52db0a
commit d4c237b109

View File

@@ -27,4 +27,9 @@ public class UserModifiedEvent extends DefaultAsyncEvent {
//新密码原始文本, passwordModified 为 true 时有值
private String newPassword;
@Deprecated
public UserModifiedEvent(UserEntity before, UserEntity after, boolean passwordModified) {
this(before, after, passwordModified, null);
}
}