mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-18 00:43:42 +08:00
名字重复bug修复
This commit is contained in:
@@ -36,7 +36,7 @@ public class UserRegisterListener {
|
||||
|
||||
@Async
|
||||
@EventListener(classes = UserRegisterEvent.class)
|
||||
public void sendBadge(UserOnlineEvent event) {
|
||||
public void sendBadge(UserRegisterEvent event) {
|
||||
User user = event.getUser();
|
||||
int count = userDao.count();
|
||||
if (count <= 10) {
|
||||
|
||||
Reference in New Issue
Block a user