错误1:
REQUEST_DATE: 2024-06-15 11:08:57
PAN_VERSION: 8.0.0
OS_VERSION: Windows Server 2022 Datacenter (build 20348) x64 (Py3.8.6)
REMOTE_ADDR: 127.0.0.1
REQUEST_URI: POST /database/redis/get_db_keylist?
REQUEST_FORM: {'data': '{"db_type":0,"db_idx":0,"limit":20}'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0
错误2:
Traceback (most recent call last):
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1583, in publicObject
return run_exec().run(toObject, defs, get)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1815, in run
result = eval(fun)
File "", line 1, in
File "D:\BtSoft\panel/class\panelDatabaseController.py", line 79, in model
result = run_object(pdata)
File "D:\BtSoft\panel/class/databaseModel/redisModel.py", line 291, in get_db_keylist
item['val'] = public.xsssec(item['val'])
File "D:\BtSoft\panel/class\public.py", line 3970, in xsssec
return text.replace('&', '&').replace('"', '"').replace('<', '<').replace('>', '>')
AttributeError: 'dict' object has no attribute 'replace' |