|
@@ -665,7 +665,7 @@ def video_old_recommend(request_id, mid, uid, size, top_K, flow_pool_P, app_type
|
|
|
'flow_pool_recall': recall_result_list[2]
|
|
|
}
|
|
|
# 3. 特征回流
|
|
|
- print(env_dict)
|
|
|
+ #print(env_dict)
|
|
|
if env_dict:
|
|
|
province_code = client_info.get('provinceCode', '-1')
|
|
|
city_code = client_info.get('cityCode', '-1')
|
|
@@ -675,8 +675,8 @@ def video_old_recommend(request_id, mid, uid, size, top_K, flow_pool_P, app_type
|
|
|
rec_recall_list = []
|
|
|
vidKeys = []
|
|
|
hour_vidKeys = []
|
|
|
- pre_str = "v_ctr"
|
|
|
- pre_hour_str = "v_hour_ctr"
|
|
|
+ pre_str = "v_ctr:"
|
|
|
+ pre_hour_str = "v_hour_ctr:"
|
|
|
for recall_item in data['rov_pool_recall']:
|
|
|
if len(recall_item) <= 0:
|
|
|
continue
|