| 
 
| 切换到正式版 7.9.8,问题解决,此贴暂时终结,感谢管理员。 
 面板版本:7.9.75
 操作系统版本:CentOS  7.9.2009 x86_64(Py3.7.9)
 浏览器版本:Microsoft Edge 109.0.1518.78 (正式版本) (64 位)
 
 
 出错了,面板运行时发生错误!AttributeError: 'dict_obj' object has no attribute 'domain'
 
 
 
 复制代码REQUEST_DATE: 2023-02-06 10:41:44
 PAN_VERSION: 7.9.75
  OS_VERSION: CentOS  7.9.2009 x86_64(Py3.7.9)
 REMOTE_ADDR: 114.220.126.69
 REQUEST_URI: POST /safe/firewall/create_rules?
REQUEST_FORM: {'data': '{"protocol":"tcp","ports":"81","choose":"all","address":"","types":"accept","brief":"","source":""}'}
  USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78
复制代码Traceback (most recent call last):
  File "/www/server/panel/BTPanel/__init__.py", line 1985, in publicObject
    res = run_obj.run(toObject, defs, get)
  File "/www/server/panel/BTPanel/__init__.py", line 1932, in run
    result = getattr(toObject, get.action)(get)
  File "class/panelSafeController.py", line 75, in model
    result = PluginLoader.module_run(module_name,def_name,pdata)
  File "/www/server/panel/class/safeModel/firewallModel.py", line 394, in create_rules
    domain_total = '' if not get.domain else get.domain.strip()
AttributeError: 'dict_obj' object has no attribute 'domain'
 
 
 | 
 |