mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-06-16 02:25:43 +00: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