|
@@ -2211,7 +2211,7 @@ class PoolRecall(object):
|
|
|
recall_result = []
|
|
|
if data is not None:
|
|
|
json_result = json.loads(data)
|
|
|
- print("json_result:", json_result)
|
|
|
+ #print("json_result:", json_result)
|
|
|
for per_item in json_result:
|
|
|
recall_result.append(
|
|
|
{'videoId': per_item[0], 'flowPool': '',
|
|
@@ -2223,13 +2223,13 @@ class PoolRecall(object):
|
|
|
def get_flow_pool_recall(self, size=4):
|
|
|
"""流量池召回视频"""
|
|
|
recall_key = f"{config_.FLOWPOOL_KEY_NAME_PREFIX}{self.app_type}"
|
|
|
- print("recall_key:", recall_key)
|
|
|
+ #print("recall_key:", recall_key)
|
|
|
data = self.redis_helper.get_data_from_redis(key_name=recall_key)
|
|
|
- print(data)
|
|
|
+ #print(data)
|
|
|
recall_result = []
|
|
|
if data is not None:
|
|
|
json_result = json.loads(data)
|
|
|
- print("json_result:", json_result)
|
|
|
+ #print("json_result:", json_result)
|
|
|
for per_item in json_result:
|
|
|
recall_result.append(
|
|
|
{'videoId': per_item[0], 'flowPool': '',
|