Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
physical
Commits
953723fe
Commit
953723fe
authored
Aug 10, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
1bf05dd1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
auto_user_id.py
vest/request/auto_user_id.py
+1
-1
get_session.py
vest/request/get_session.py
+2
-2
vest_click_reply.py
vest/vest_majiauser/vest_click_reply.py
+1
-1
No files found.
vest/request/auto_user_id.py
View file @
953723fe
...
...
@@ -33,7 +33,7 @@ def get_data():
data
=
get_data
()
print
(
data
)
file
=
open
(
"/
data/log/cybertron/app
/user_id.txt"
,
"w"
)
file
=
open
(
"/
srv/apps/physical/vest/data
/user_id.txt"
,
"w"
)
if
data
:
for
i
in
data
:
...
...
vest/request/get_session.py
View file @
953723fe
...
...
@@ -17,7 +17,7 @@ def index_first():
def
get_cook
():
data
=
open
(
"
batch_user_gen
"
)
data
=
open
(
"
/srv/apps/physical/vest/data/vest_user_email.txt
"
)
list
=
[]
dicts
=
{}
...
...
@@ -48,7 +48,7 @@ def get_cook():
dicts
=
get_cook
()
with
open
(
"/
data/log/cybertron/app
/user_session.txt"
,
'w'
)
as
f
:
with
open
(
"/
srv/apps/physical/vest/data
/user_session.txt"
,
'w'
)
as
f
:
for
key
,
value
in
dicts
.
items
():
f
.
write
(
key
)
f
.
write
(
","
)
...
...
vest/vest_majiauser/vest_click_reply.py
View file @
953723fe
...
...
@@ -59,7 +59,7 @@ if __name__ == "__main__":
now
=
datetime
.
datetime
.
now
()
yes_time
=
now
-
datetime
.
timedelta
(
minutes
=
5
)
user_data
=
open
(
"/
data/log/physical/app
/user_id.txt"
,
"r"
)
user_data
=
open
(
"/
srv/apps/physical/vest/data
/user_id.txt"
,
"r"
)
user_list
=
[]
for
i
in
user_data
.
readlines
():
user_list
.
append
(
i
)
...
...
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