liqian hai 1 ano
pai
achega
b1ea32247e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = {