修复缓存条件可能无法保存的Bug

This commit is contained in:
GoEdgeLab
2021-11-04 11:23:29 +08:00
parent 4be9f00156
commit 4277b5c784
2 changed files with 4 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ func (this *IndexAction) RunPost(params struct {
this.ErrorPage(err)
return
}
err = cacheConfig.Init()
if err != nil {
this.Fail("检查配置失败:" + err.Error())