Skip to content

Commit d4c237b

Browse files
committed
refactor: 优化兼容性
1 parent f8ee52d commit d4c237b

File tree

1 file changed

+5
-0
lines changed
  • hsweb-system/hsweb-system-authorization/hsweb-system-authorization-api/src/main/java/org/hswebframework/web/system/authorization/api/event

1 file changed

+5
-0
lines changed

hsweb-system/hsweb-system-authorization/hsweb-system-authorization-api/src/main/java/org/hswebframework/web/system/authorization/api/event/UserModifiedEvent.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@ public class UserModifiedEvent extends DefaultAsyncEvent {
2727

2828
//新密码原始文本, passwordModified 为 true 时有值
2929
private String newPassword;
30+
31+
@Deprecated
32+
public UserModifiedEvent(UserEntity before, UserEntity after, boolean passwordModified) {
33+
this(before, after, passwordModified, null);
34+
}
3035
}

0 commit comments

Comments
 (0)