实现缓存策略的部分功能

This commit is contained in:
GoEdgeLab
2020-10-04 14:27:05 +08:00
parent bfa6227a82
commit de5ad48070
49 changed files with 1444 additions and 189 deletions

View File

@@ -1,3 +1,10 @@
Tea.context(function () {
this.success = NotifySuccess("保存成功", "/api")
this.hasHTTPS = false
this.changeListens = function (addrs) {
this.hasHTTPS = addrs.$any(function (k, v) {
return v.protocol == "https"
})
}
})