Commit 5aedf634 by zhaihuitao

update

parent a637c57c
......@@ -42,14 +42,14 @@ else:
requests.packages.urllib3.disable_warnings()
p = requests.get(url=URL, params=param, timeout=30, verify=False)
time.sleep(360)
time.sleep(400)
mysqlCon = MysqlCon(host=host, username=username, password=password, db=db)
r = mysqlCon.get_one(sql=sql)
num = r[0]
print(count, num)
if count + 1 == num:
if num > count:
print("指标确认正常")
else:
# print("指标异常,请关注")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment