|
@@ -208,7 +208,7 @@ class sqlCollect():
|
|
|
"""
|
|
|
获取feed流视频
|
|
|
"""
|
|
|
- sql = f"""select video_id,channel,video_url,cover_url,title from automator_feed_video where channel = %s and has_used = 0 and if_50_like = 1 limit 1"""
|
|
|
+ sql = f"""select video_id,channel,video_url,cover_url,title from automator_feed_video where channel = %s and has_used = 0 and if_50_like = 1 ORDER BY create_time DESC limit 1"""
|
|
|
data = AigcMysqlHelper.get_values(sql, (channel,))
|
|
|
return data
|
|
|
|