liqian 1 年之前
父节点
当前提交
b1ea32247e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ad_recommend.py

+ 1 - 1
ad_recommend.py

@@ -356,7 +356,7 @@ def ad_recommend_predict(app_type, mid, video_id, ab_exp_info, ab_test_code, car
         now_date = datetime.datetime.today()
         # now_dt = datetime.datetime.strftime(now_date, '%Y%m%d')
         now_h = datetime.datetime.now().hour
-        if 0 <= now_h < 8:
+        if 15 <= now_h < 16:
             # 00:00 - 08:00 不出广告
             ad_predict = 1
             result = {