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
5cfa3e37
Commit
5cfa3e37
authored
5 years ago
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto_vest
parent
c11c68b7
master
add_redis_have_xiaf
change_time
change_time_outdate
change_vest_id
commit
del_today_datas
delete_have_comment
group_tag
group_tag_comment
group_vest
hkx/feature/rpc-method-header
judge_status
kyc3
many_line
new_comment
poll_num
save_have_xiafa
save_offset_to_redis
send_emapil_low
test
tractate_diary_ittr
update_params
update_user
更新马甲
1 merge request
!2
Test
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
auto_follow.py
follow/views/auto_follow.py
+1
-2
process_time.py
moment/views/process_time.py
+0
-1
No files found.
follow/views/auto_follow.py
View file @
5cfa3e37
...
...
@@ -49,9 +49,8 @@ def auto_follow_user(card_info, after_day=False):
"all_follow_id"
not
in
card_info
and
"all_push_time"
not
in
card_info
):
###根据创建时间回答等级去获取对应的下发时间
repeat_time
=
1
while
True
:
repeat_time
=
1
if
card_info
[
'type'
]
==
"get_write_answer_userinfo"
:
repeat_time
=
0
card_info
[
'have_follow_number'
]
=
0
...
...
This diff is collapsed.
Click to expand it.
moment/views/process_time.py
View file @
5cfa3e37
...
...
@@ -204,7 +204,6 @@ def get_click_follow_time_by_create_time(create_time="", content_level=0, action
createt
=
datetime
.
datetime
.
strptime
(
create_time
,
'
%
Y-
%
m-
%
d
%
H:
%
M:
%
S'
)
nowt
=
now
.
strftime
(
'
%
Y-
%
m-
%
d
%
H:
%
M:
%
S'
)
##获取创建时间和当前时间的相差秒数
num
=
(
now
-
createt
)
.
total_seconds
()
num_days
=
(
now
-
createt
)
.
days
content_day_need_add_one_day
=
False
logging
.
info
(
"get-----------------num_days:
%
s"
%
num_days
)
...
...
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