|
@@ -1557,7 +1557,7 @@ public class CommunityArticleController extends BaseController {
|
|
} else {
|
|
} else {
|
|
communityArticleService.update(new UpdateWrapper<CommunityArticle>()
|
|
communityArticleService.update(new UpdateWrapper<CommunityArticle>()
|
|
.set("is_top", false)
|
|
.set("is_top", false)
|
|
- .set("top_time", DateUtils.parseDate(DateUtils.getTime()))
|
|
|
|
|
|
+ .set("top_time",null)
|
|
.eq("id", communityArticle.getId()));
|
|
.eq("id", communityArticle.getId()));
|
|
msg = "已取消置顶";
|
|
msg = "已取消置顶";
|
|
}
|
|
}
|