Alex 4 年之前
父节点
当前提交
f2fe477c8d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      ruoyi-system/src/main/java/com/ruoyi/app/service/impl/TbMyPublishServiceImpl.java

+ 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();