Explorar el Código

update filter_video_viewed types

liqian hace 2 años
padre
commit
a02adcde80
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      utils.py

+ 3 - 0
utils.py

@@ -430,6 +430,9 @@ class FilterVideos(object):
         :return: filtered_videos
         """
         # 调用http接口
+        if self.app_type == config_.APP_TYPE['APP']:
+            # app不进行白名单过滤
+            types = (1, )
         request_data = {"appType": self.app_type,
                         "mid": self.mid,
                         "uid": self.uid,