|
@@ -34,15 +34,16 @@ class AgcVidoe():
|
|
|
SELECT video_id
|
|
|
FROM agc_video_deposit b
|
|
|
WHERE a.oss_object_key = b.oss_object_key AND b.time >= '{formatted_three_days_ago}' AND b.time <= '{formatted_current_time}'
|
|
|
- ) AND a.account_id = {user} and a.`status` = 1 and a.mark = '{mark}' limit {limit_count};"""
|
|
|
-
|
|
|
+ ) AND a.account_id = {user} and a.`status` = 1 and a.mark = '{mark}' limit {limit_count};"""
|
|
|
+ print(url_list)
|
|
|
url_list = MysqlHelper.get_values(url_list, "prod")
|
|
|
if limit_count == 1:
|
|
|
if url_list:
|
|
|
return url_list
|
|
|
else:
|
|
|
- if len(url_list) >= 30:
|
|
|
- return url_list
|
|
|
+ if url_list:
|
|
|
+ if len(url_list) >= 30:
|
|
|
+ return url_list
|
|
|
return None
|
|
|
|
|
|
|