用户信息缓存
This commit is contained in:
parent
478888b392
commit
31c53c9731
|
@ -66,6 +66,7 @@ func ClearCache() {
|
||||||
postListIdsCache.ClearExpired()
|
postListIdsCache.ClearExpired()
|
||||||
monthPostsCache.ClearExpired()
|
monthPostsCache.ClearExpired()
|
||||||
postContextCache.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) {
|
func GetMonthPostIds(ctx context.Context, year, month string, page, limit int, order string) (r []models.WpPosts, total int, err error) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user