提交 10fdb39f 编写于 作者: H hjdhnx

md

上级 d16ddf33
......@@ -47,7 +47,7 @@ class Storage(db.Model):
return value
@classmethod
# @lru_cache(maxsize=200)
@lru_cache(maxsize=200)
def hasItem(self, key):
exists = db.session.query(self).filter(self.key == key).scalar() is not None
# res = db.session.query(self).filter(self.key == key).
......@@ -70,4 +70,5 @@ class Storage(db.Model):
@classmethod
def clearCache(self):
self.getItem.cache_clear()
\ No newline at end of file
self.getItem.cache_clear()
self.hasItem.cache_clear()
\ No newline at end of file
......@@ -47,7 +47,7 @@
[获取本地设备信息](https://blog.csdn.net/cui_yonghua/article/details/125508991)
[获取本地设备信息](https://m.jb51.net/article/140716.htm)
###### 2022/09/11
- [X] 1.升级至3.5.0.后台管理增加设置中心 (可能会存在bug)
- [X] 1.升级至3.5.1.后台管理增加设置中心 (可能会存在bug)
###### 2022/09/10
- [X] 1.升级至3.4.4.增加小强迷源,增加二级重定向属性(提供重定向后的源码,让代码重新取重定向过后的线路和播放列表)
- [X] 2.升级至3.4.5.增加兔小贝儿歌源,优化json:细节处理以及详情页拼接细节
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册