夜寐纵欲 发表于 4 天前

SSL-DNS接口设置BUG

添加DNS接口时python报错
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2541, in publicObject
    res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2488, in run
    result = getattr(toObject, get.action)(get)
File "class/panelController.py", line 81, in model
    result = PluginLoader.module_run(module_name,def_name,pdata)
File "/www/server/panel/class/sslModel/dnsapiModel.py", line 71, in add_dns_data
    data = json.loads(public.readFile(sfile))
File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


9.4.0不显示提示框信息,之前的版本会显示500报错
页: [1]
查看完整版本: SSL-DNS接口设置BUG