mirror of https://github.com/halo-dev/halo
parent
50b19f8d3a
commit
23789b7acd
|
@ -83,6 +83,8 @@ public class PostController {
|
|||
postDetailVO.setOriginalContent(null);
|
||||
}
|
||||
|
||||
postService.publishVisitEvent(postDetailVO.getId());
|
||||
|
||||
return postDetailVO;
|
||||
}
|
||||
|
||||
|
|
|
@ -73,6 +73,8 @@ public class SheetController {
|
|||
sheetDetailVO.setOriginalContent(null);
|
||||
}
|
||||
|
||||
sheetService.publishVisitEvent(sheetDetailVO.getId());
|
||||
|
||||
return sheetDetailVO;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue