feat: upvote & downvote

This commit is contained in:
2022-10-16 02:21:44 +08:00
parent e0d6720433
commit 04a0d1084f
13 changed files with 127 additions and 19 deletions

View File

@@ -17,7 +17,7 @@ const CUT_LENGTH: isize = 100;
macro_rules! post_cache_key {
($id: expr) => {
format!("hole_v2:cache:post:{}", $id)
format!("hole_v2:cache:post:{}:v2", $id)
};
}