|
@@ -388,11 +388,13 @@ class PoolRecall(object):
|
|
|
video_ids = []
|
|
|
video_info = {}
|
|
|
for item in eval(data):
|
|
|
+ log_.info('=== item === {}'.format(item))
|
|
|
video_id = int(item['videoId'])
|
|
|
# 判断 视频推荐区域与用户地址信息 是否匹配,市级别
|
|
|
# video_area_list = item['area'].split(',')
|
|
|
if self.client_info.get('city') in item['area'] or '全部' == item['area']:
|
|
|
- log_.info('===2=== {}, ===3=== {}'.format(self.client_info.get('city'), item['area']))
|
|
|
+ log_.info('===2=== {}, ===3=== video_id: {}, area: {}'.format(
|
|
|
+ self.client_info.get('city'), video_id, item['area']))
|
|
|
video_ids.append(video_id)
|
|
|
video_info[video_id] = {'score': item['score'], 'area': item['area']}
|
|
|
|