Commit f0eda48c authored by wangmingming's avatar wangmingming

请求造纸

parent c6fa3c28
...@@ -62,8 +62,8 @@ while True: ...@@ -62,8 +62,8 @@ while True:
r = requests.get('http://ymx-lcc.unififi.com/header/task/pull/headerB6?brush_name=test') r = requests.get('http://ymx-lcc.unififi.com/header/task/pull/headerB6?brush_name=test')
if r.json()['status'] != 0: if r.json()['status'] != 0:
logger.debug(f'不需要刷值') logger.debug(f'不需要刷值')
# time.sleep(10) time.sleep(10)
# continue continue
logger.debug('开始刷值') logger.debug('开始刷值')
selectId = random.choice(list(envs)) selectId = random.choice(list(envs))
lastHash = '' lastHash = ''
...@@ -206,4 +206,3 @@ while True: ...@@ -206,4 +206,3 @@ while True:
# time.sleep(3) # time.sleep(3)
except Exception as e: except Exception as e:
print(e) print(e)
time.sleep(10)
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