Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mentha
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
1
Merge Requests
1
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
mentha
Commits
69a9c6d3
Commit
69a9c6d3
authored
Jan 05, 2021
by
李小芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
is_shouyejingxuan
parent
ccf84bb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
transfer.py
data_sync/principal_page/transfer.py
+6
-6
No files found.
data_sync/principal_page/transfer.py
View file @
69a9c6d3
...
...
@@ -48,7 +48,7 @@ def get_live_stream(pks):
item
[
"topic_isnull"
]
=
True
if
live
.
topic
else
False
item
[
"topic_is_online"
]
=
live
.
get_topic_is_online
()
item
[
'is_test'
]
=
live
.
is_test
item
[
'is_shouyejingxuan'
]
=
0
item
[
'is_shouyejingxuan'
]
=
False
item
[
'is_show'
]
=
live
.
is_show
item
[
'stick_status'
]
=
live
.
stick_status
item
[
'stick_timestamp'
]
=
live
.
stick_timestamp
...
...
@@ -102,7 +102,7 @@ def get_live_notice(pks):
item
[
"zhibo_time"
]
=
int
(
time
.
mktime
(
zhibo_time
.
timetuple
()))
except
:
pass
item
[
'is_shouyejingxuan'
]
=
notice
.
is_shouyejingxuan
item
[
'is_shouyejingxuan'
]
=
True
if
notice
.
is_shouyejingxuan
else
False
item
[
"show_order"
]
=
999
item
[
"article_type"
]
=
None
item
[
"status"
]
=
None
...
...
@@ -145,7 +145,7 @@ def get_activity(pks):
item
[
"hera_is_online"
]
=
None
item
[
"topic_isnull"
]
=
None
item
[
"topic_is_online"
]
=
None
item
[
'is_shouyejingxuan'
]
=
0
item
[
'is_shouyejingxuan'
]
=
False
item
[
'is_show'
]
=
1
data
.
append
(
item
)
logging
.
info
(
"get data:
%
s"
%
data
)
...
...
@@ -179,7 +179,7 @@ def get_video_tractate(pks):
item
[
"hera_is_online"
]
=
softarticle
.
hera_is_online
item
[
"topic_isnull"
]
=
None
item
[
"topic_is_online"
]
=
None
item
[
'is_shouyejingxuan'
]
=
0
item
[
'is_shouyejingxuan'
]
=
False
item
[
'is_show'
]
=
1
data
.
append
(
item
)
logging
.
info
(
"get data:
%
s"
%
data
)
...
...
@@ -213,7 +213,7 @@ def get_word_tractate(pks):
item
[
"hera_is_online"
]
=
softarticle
.
hera_is_online
item
[
"topic_isnull"
]
=
None
item
[
"topic_is_online"
]
=
None
item
[
'is_shouyejingxuan'
]
=
0
item
[
'is_shouyejingxuan'
]
=
False
item
[
'is_show'
]
=
1
data
.
append
(
item
)
logging
.
info
(
"get data:
%
s"
%
data
)
...
...
@@ -250,7 +250,7 @@ def get_article(pks):
item
[
"hera_is_online"
]
=
None
item
[
"topic_isnull"
]
=
None
item
[
"topic_is_online"
]
=
None
item
[
'is_shouyejingxuan'
]
=
0
item
[
'is_shouyejingxuan'
]
=
False
item
[
'is_show'
]
=
1
data
.
append
(
item
)
logging
.
info
(
"get data:
%
s"
%
data
)
...
...
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