This commit is contained in:
jxxghp
2024-09-14 13:13:11 +08:00
parent f6c84a744c
commit 57bad6353c
4 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class SystemConfigOper(DbOper, metaclass=Singleton):
"""
super().__init__()
for item in SystemConfig.list(self._db):
if ObjectUtils.is_obj(item.value):
if ObjectUtils.is_objstr(item.value):
self.__SYSTEMCONF[item.key] = json.loads(item.value)
else:
self.__SYSTEMCONF[item.key] = item.value