MCPcopy Create free account
hub / github.com/diyhi/bbs / TopicServiceImpl

Class TopicServiceImpl

src/main/java/cms/service/topic/impl/TopicServiceImpl.java:71–2192  ·  view source on GitHub ↗

话题标签服务

Source from the content-addressed store, hash-verified

69 * 话题标签服务
70 */
71@Service
72public class TopicServiceImpl implements TopicService {
73 private static final Logger logger = LogManager.getLogger(TopicServiceImpl.class);
74
75 @Resource
76 TagRepository tagRepository;
77 @Resource
78 TopicRepository topicRepository;
79 @Resource SettingRepository settingRepository;
80 @Resource JsonComponent jsonComponent;
81 @Resource TextFilterComponent textFilterComponent;
82 @Resource FileComponent fileComponent;
83 @Resource
84 TopicComponent topicComponent;
85 @Resource UserCacheManager userCacheManager;
86 @Resource StaffCacheManager staffCacheManager;
87 @Resource
88 UserGradeRepository userGradeRepository;
89 @Resource
90 CommentComponent commentComponent;
91 @Resource
92 UserRoleComponent userRoleComponent;
93 @Resource
94 CommentRepository commentRepository;
95 @Resource
96 RedEnvelopeRepository redEnvelopeRepository;
97 @Resource
98 UserRepository userRepository;
99 @Resource TopicCacheManager topicCacheManager;
100 @Resource
101 TopicIndexRepository topicIndexRepository;
102 @Resource
103 RedEnvelopeComponent redEnvelopeComponent;
104 @Resource
105 PaymentComponent paymentComponent;
106 @Resource RedEnvelopeCacheManager redEnvelopeCacheManager;
107 @Resource
108 ThumbnailRepository thumbnailRepository;
109
110 @Resource
111 TopicLuceneComponent topicLuceneComponent;
112 @Resource
113 RemindRepository remindRepository;
114 @Resource
115 RemindComponent remindComponent;
116 @Resource
117 RemindConfig remindConfig;
118 @Resource RemindCacheManager remindCacheManager;
119
120 private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm");
121
122 //Html过滤结果
123 private record HtmlFilterResult(HtmlProcessingResult htmlProcessingResult, String formatterMarkdown, String content) {
124 }
125
126
127 /**
128 * 获取话题列表

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…