Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
856115b0
Commit
856115b0
authored
Feb 18, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验票
parent
5dedee0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
main.py
wn/src/main.py
+6
-6
No files found.
wn/src/main.py
View file @
856115b0
...
...
@@ -206,12 +206,12 @@ success = 0
total
=
0
token
=
''
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/cookieWN
?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
=
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment