From 378d7675ffba6cada1603833646d7be913de876d Mon Sep 17 00:00:00 2001 From: zhongzb <972627721@qq.com> Date: Sun, 29 Oct 2023 14:04:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8A=A0=E5=A5=BD=E5=8F=8B=E9=98=B2?= =?UTF-8?q?=E6=AD=A2=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mallchat/common/user/service/impl/FriendServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/service/impl/FriendServiceImpl.java b/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/service/impl/FriendServiceImpl.java index e59ea5d..7cd3e73 100644 --- a/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/service/impl/FriendServiceImpl.java +++ b/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/service/impl/FriendServiceImpl.java @@ -101,6 +101,7 @@ public class FriendServiceImpl implements FriendService { * @param request 请求 */ @Override + @RedissonLock(key = "#uid") public void apply(Long uid, FriendApplyReq request) { //是否有好友关系 UserFriend friend = userFriendDao.getByFriend(uid, request.getTargetUid());