李昊 4 éve
szülő
commit
e653c799fb

+ 2 - 2
gx_api/GxPress/Service/GxPress.Service.Implement/Topic/TopicService.cs

@@ -309,7 +309,7 @@ namespace GxPress.Service.Implement.Topic
             }
             else
             {
-                sql += $@" AND (a.userId=7 or a.FolderId IN (SELECT 
+                sql += $@" AND (a.userId={request.UserId} or a.FolderId IN (SELECT 
                                                                 MiddleId
                                                             FROM
                                                                 tede_folder_user
@@ -414,7 +414,7 @@ namespace GxPress.Service.Implement.Topic
             }
             else
             {
-                sql += $@" AND (a.userId=7 or a.FolderId IN (SELECT 
+                sql += $@" AND (a.userId={request.UserId} or a.FolderId IN (SELECT 
                                                                 MiddleId
                                                             FROM
                                                                 tede_folder_user