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
alpha
physical
Commits
2b36bf79
Commit
2b36bf79
authored
5 years ago
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
930ee89a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
0 deletions
+15
-0
reply_comment1.py
vest/reply_answer/reply_comment1.py
+3
-0
reply_comment2.py
vest/reply_answer/reply_comment2.py
+3
-0
reply_comment3.py
vest/reply_answer/reply_comment3.py
+3
-0
reply_comment5.py
vest/reply_answer/reply_comment5.py
+3
-0
reply_comment7.py
vest/reply_answer/reply_comment7.py
+3
-0
No files found.
vest/reply_answer/reply_comment1.py
View file @
2b36bf79
...
...
@@ -10,6 +10,9 @@ def reply_comment1():
redis_key1
=
"cybertron:set_reply_id:one"
redis_client
=
set_reply_to_redis
()
have_reply1
=
redis_client
.
get
(
redis_key1
)
if
have_reply1
==
None
:
pass
else
:
result
=
json
.
loads
(
str
(
have_reply1
,
encoding
=
"utf-8"
))
if
result
:
for
item
in
result
:
...
...
This diff is collapsed.
Click to expand it.
vest/reply_answer/reply_comment2.py
View file @
2b36bf79
...
...
@@ -10,6 +10,9 @@ def reply_comment2():
redis_key1
=
"cybertron:set_reply_id:two"
redis_client
=
set_reply_to_redis
()
have_reply1
=
redis_client
.
get
(
redis_key1
)
if
have_reply1
==
None
:
pass
else
:
result
=
json
.
loads
(
str
(
have_reply1
,
encoding
=
"utf-8"
))
if
result
:
for
item
in
result
:
...
...
This diff is collapsed.
Click to expand it.
vest/reply_answer/reply_comment3.py
View file @
2b36bf79
...
...
@@ -10,6 +10,9 @@ def reply_comment3():
redis_key1
=
"cybertron:set_reply_id:three"
redis_client
=
set_reply_to_redis
()
have_reply1
=
redis_client
.
get
(
redis_key1
)
if
have_reply1
==
None
:
pass
else
:
result
=
json
.
loads
(
str
(
have_reply1
,
encoding
=
"utf-8"
))
if
result
:
for
item
in
result
:
...
...
This diff is collapsed.
Click to expand it.
vest/reply_answer/reply_comment5.py
View file @
2b36bf79
...
...
@@ -10,6 +10,9 @@ def reply_comment5():
redis_key1
=
"cybertron:set_reply_id:five"
redis_client
=
set_reply_to_redis
()
have_reply1
=
redis_client
.
get
(
redis_key1
)
if
have_reply1
==
None
:
pass
else
:
result
=
json
.
loads
(
str
(
have_reply1
,
encoding
=
"utf-8"
))
if
result
:
for
item
in
result
:
...
...
This diff is collapsed.
Click to expand it.
vest/reply_answer/reply_comment7.py
View file @
2b36bf79
...
...
@@ -10,6 +10,9 @@ def reply_comment7():
redis_key1
=
"cybertron:set_reply_id:seven"
redis_client
=
set_reply_to_redis
()
have_reply1
=
redis_client
.
get
(
redis_key1
)
if
have_reply1
==
None
:
pass
else
:
result
=
json
.
loads
(
str
(
have_reply1
,
encoding
=
"utf-8"
))
if
result
:
for
item
in
result
:
...
...
This diff is collapsed.
Click to expand it.
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