Commit 4f47c5d0 authored by wang's avatar wang

wn test

parent ae4c8ac1
......@@ -62,12 +62,12 @@ headers = {
success = 0
total = 0
while True:
r = requests.get('http://ymx-lcc.unififi.com/header/task/pull/cookieB6?brush_name=test')
if platform.uname().system != 'Darwin':
if r.json()['status'] != 0:
logger.debug(f'不需要刷值')
time.sleep(10)
continue
# r = requests.get('http://ymx-lcc.unififi.com/header/task/pull/cookieB6?brush_name=test')
# if platform.uname().system != 'Darwin':
# if r.json()['status'] != 0:
# logger.debug(f'不需要刷值')
# time.sleep(10)
# continue
logger.debug('开始刷值')
selectId = random.choice(list(envs))
lastHash = ''
......
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