Commit 4f47c5d0 authored by wang's avatar wang

wn test

parent ae4c8ac1
...@@ -62,12 +62,12 @@ headers = { ...@@ -62,12 +62,12 @@ headers = {
success = 0 success = 0
total = 0 total = 0
while True: while True:
r = requests.get('http://ymx-lcc.unififi.com/header/task/pull/cookieB6?brush_name=test') # r = requests.get('http://ymx-lcc.unififi.com/header/task/pull/cookieB6?brush_name=test')
if platform.uname().system != 'Darwin': # if platform.uname().system != 'Darwin':
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 = ''
......
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