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