mirror of
https://github.com/ProudMuBai/GoFilm.git
synced 2026-02-15 06:54:41 +08:00
search tag fix
This commit is contained in:
@@ -100,7 +100,7 @@ func HandleCollect(id string, h int) error {
|
||||
system.SyncFilmPicture()
|
||||
}
|
||||
// 每次成功执行完都清理redis中的相关API接口数据缓存
|
||||
clearCache()
|
||||
ClearCache()
|
||||
}
|
||||
|
||||
case system.CollectArticle, system.CollectActor, system.CollectRole, system.CollectWebSite:
|
||||
|
||||
@@ -85,7 +85,7 @@ func ValidSpec(spec string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// 清理API接口数据缓存
|
||||
func clearCache() {
|
||||
// ClearCache 清理API接口数据缓存
|
||||
func ClearCache() {
|
||||
system.RemoveCache(config.IndexCacheKey)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user