Skip to content

Commit

Permalink
修复域名icp查询超时问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mouday committed Jul 10, 2024
1 parent 788dd7b commit c430065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domain_admin/utils/icp_util/icp_api/uomg_icp_api.py
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ def get_icp_from_uomg(domain):
}

# 发送GET请求
response = requests.get(url, params=data)
response = requests.get(url, params=data, timeout=5)
print(response.text)
res = response.json()
if res.get('icp') == '未备案':

0 comments on commit c430065

Please sign in to comment.