來個大神幫忙寫一個使用redis實作文章閱讀量的統計,然后進行熱度查詢的功能
private int id;
private String title;//文章標題
private String sub_title;//文章副標題
private String content;//內容
private Blob imager;//圖片
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
private Date create_time;//創建時間
private String hite;//位置
private Integer hits;//點擊量
private Integer commentsNum; // 評論總量
private Date currenttime; //當前時間
這是物體類
uj5u.com熱心網友回復:
自己給自己頂一下
uj5u.com熱心網友回復:
利用redis中sortSet去做排序轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/220907.html
標籤:Java相關
上一篇:MySQL基礎
