博客变为论坛,修改编辑器为正常编辑器

This commit is contained in:
limqhz
2022-05-05 01:11:09 +08:00
parent f701baaf04
commit 69941133b8
28 changed files with 457 additions and 187 deletions

View File

@@ -113,7 +113,7 @@ public class SourceController {
*/
@GetMapping("/source/view/{sid}")
public String read(@PathVariable("sid") String sid, Model model){
Source source = sourceService.getOne(new QueryWrapper<Source>().eq("id", sid));
Source source = sourceService.hotResource(sid);
if(source != null){
source.setSourceLink(QuinnConstant.GUN);
}