|
@@ -329,8 +329,9 @@ def predict_mid_video_res_with_model(now_date, mid, video_id, abtest_param, abte
|
|
care_model_status=care_model_status,
|
|
care_model_status=care_model_status,
|
|
app_type=app_type
|
|
app_type=app_type
|
|
)
|
|
)
|
|
- hit_strategy = 'backup'
|
|
|
|
- result['hit_strategy'] = hit_strategy
|
|
|
|
|
|
+ if result is not None:
|
|
|
|
+ hit_strategy = 'backup'
|
|
|
|
+ result['hit_strategy'] = hit_strategy
|
|
return result
|
|
return result
|
|
else:
|
|
else:
|
|
if item_score is not None:
|
|
if item_score is not None:
|