牛客论坛项目:置顶、加精、删除
增加了取消置顶,取消加精,其它部分和老师视频讲的一样,下面是需要修改的部分。discuss-detail.html省略…<div class="float-right"> <input type="hidden" id="postId" th:value="${post.id}"> <button type="button" class="btn btn-danger btn-sm" id="topBtn" sec:authorize="hasAnyAuthor