fix local

This commit is contained in:
jxxghp
2024-07-26 22:04:50 +08:00
parent 4f4c7a5748
commit 40663b6ce7
5 changed files with 13 additions and 16 deletions
-5
View File
@@ -31,11 +31,6 @@ class SystemConfigOper(DbOper, metaclass=Singleton):
key = key.value
# 更新内存
self.__SYSTEMCONF[key] = value
# 写入数据库
if ObjectUtils.is_obj(value):
value = json.dumps(value)
elif value is None:
value = ''
conf = SystemConfig.get_by_key(self._db, key)
if conf:
if value: