|
@@ -53,16 +53,17 @@ class GetOffVideos(object):
|
|
|
"""
|
|
|
insert_sql = f"""
|
|
|
INSERT IGNORE INTO long_articles_published_trace_id
|
|
|
- (trace_id, gh_id, push_type)
|
|
|
+ (trace_id, gh_id, push_type, create_timestamp)
|
|
|
VALUES
|
|
|
- (%s, %s, %s);
|
|
|
+ (%s, %s, %s, %s);
|
|
|
"""
|
|
|
await self.mysql_client.async_insert(
|
|
|
sql=insert_sql,
|
|
|
params=(
|
|
|
self.trace_id,
|
|
|
gh_id,
|
|
|
- self.push_type
|
|
|
+ self.push_type,
|
|
|
+ int(time.time())
|
|
|
)
|
|
|
)
|
|
|
|