实现修改缓存配置

This commit is contained in:
刘祥超
2020-09-20 16:28:16 +08:00
parent d7bb9570a9
commit 27b51edc05
9 changed files with 144 additions and 20 deletions

View File

@@ -34,7 +34,7 @@ func (this *IndexAction) RunGet(params struct {
return
}
this.Data["webId"] = webConfig.Id
this.Data["accessLogConfig"] = webConfig.AccessLog
this.Data["accessLogConfig"] = webConfig.AccessLogRef
// 可选的缓存策略
policiesResp, err := this.RPC().HTTPAccessLogPolicyRPC().FindAllEnabledHTTPAccessLogPolicies(this.AdminContext(), &pb.FindAllEnabledHTTPAccessLogPoliciesRequest{})