用户信息缓存

This commit is contained in:
xing 2022-10-06 21:36:13 +08:00
parent 478888b392
commit 31c53c9731

View File

@ -66,6 +66,7 @@ func ClearCache() {
postListIdsCache.ClearExpired()
monthPostsCache.ClearExpired()
postContextCache.ClearExpired()
usersCache.ClearExpired()
}
func GetMonthPostIds(ctx context.Context, year, month string, page, limit int, order string) (r []models.WpPosts, total int, err error) {