Alex před 4 roky
rodič
revize
f2fe477c8d

+ 2 - 0
ruoyi-system/src/main/java/com/ruoyi/app/service/impl/TbMyPublishServiceImpl.java

@@ -381,6 +381,8 @@ public class TbMyPublishServiceImpl extends ServiceImpl<TbMyPublishMapper, TbMyP
     @Override
     public List<Long> getMyFrientIds(Long appUserId){
         List<Long> fids = new ArrayList<>();
+        // 自己
+        fids.add(appUserId);
         if (appUserId != null) {
             // 好友列表
             TbMyFriends tbMyFriends = new TbMyFriends();