Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
V
vest
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
2
Merge Requests
2
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
vest
Commits
97293b2d
Commit
97293b2d
authored
Jan 03, 2020
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
f8db01e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
process_time.py
moment/views/process_time.py
+5
-3
No files found.
moment/views/process_time.py
View file @
97293b2d
...
...
@@ -160,7 +160,8 @@ def get_content_time_by_create_time(create_time="", content_level=0, action_type
repeat_time
=
0
):
try
:
###在这个地方需要重新判断一下星级
card_info
[
'content_level'
]
=
get_current_card_content_level
(
card_info
)
content_level
=
get_current_card_content_level
(
card_info
)
card_info
[
'content_level'
]
=
content_level
##
card_info
[
'type'
]
=
'have_get_push_time'
card_info
[
'have_comment_number'
]
=
0
...
...
@@ -208,7 +209,8 @@ def get_click_follow_time_by_create_time(create_time="", content_level=0, action
card_info
=
None
,
repeat_time
=
0
):
try
:
######在这个地方需要重新判断一下星级
card_info
[
'content_level'
]
=
get_current_card_content_level
(
card_info
)
content_level
=
get_current_card_content_level
(
card_info
)
card_info
[
'content_level'
]
=
content_level
####
card_info
[
'have_click_number'
]
=
0
card_info
[
'have_follow_number'
]
=
0
...
...
@@ -384,4 +386,4 @@ def get_current_card_content_level(card_info=[]):
except
:
logging
.
error
(
"catch exception,err_msg:
%
s"
%
traceback
.
format_exc
())
return
[]
return
0
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