Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
search_tips
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
rank
search_tips
Commits
daf3fab5
Commit
daf3fab5
authored
Jan 22, 2019
by
段英荣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
27e2cfba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
doctor_transfer.py
trans2es/utils/doctor_transfer.py
+3
-1
No files found.
trans2es/utils/doctor_transfer.py
View file @
daf3fab5
...
...
@@ -68,7 +68,9 @@ class DoctorTransfer(object):
redis_key_prefix
=
"search_tips:tips_mapping_num"
redis_data
=
redis_client
.
hget
(
redis_key_prefix
,
doctor_name
)
redis_val_dict
=
json
.
loads
(
redis_data
)
if
redis_data
else
{}
logging
.
info
(
"duan add,redis_data type:
%
s,val:
%
s"
%
(
type
(
redis_data
),
str
(
redis_data
)))
redis_val_dict
=
json
.
loads
(
str
(
redis_data
))
if
redis_data
else
{}
total_count
=
doctor_results
if
't'
in
redis_val_dict
:
...
...
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