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
da3b1520
Commit
da3b1520
authored
Feb 02, 2019
by
段英荣
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'only_no_see' into 'master'
filter have read topic id list See merge request
!101
parents
b0ea46ba
19d7cb40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
topic.py
search/views/topic.py
+1
-1
No files found.
search/views/topic.py
View file @
da3b1520
...
...
@@ -103,7 +103,7 @@ def get_home_recommend_topic_ids(user_id,device_id,offset,size,query=None,query_
else
:
break
redis_dict
=
{
"have_read_topic_list"
:
json
.
dumps
(
have_read_user_id_set
),
"have_read_topic_list"
:
json
.
dumps
(
list
(
have_read_user_id_set
)
),
}
redis_client
.
hmset
(
redis_key
,
redis_dict
)
# 每个session key保存15分钟
...
...
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