|
@@ -6,6 +6,7 @@ import time
|
|
|
import traceback
|
|
|
|
|
|
from applications.log import logging
|
|
|
+from applications.const import server_const
|
|
|
from applications.functions.forward_request import forward_requests
|
|
|
|
|
|
|
|
@@ -162,7 +163,11 @@ class GetOffVideos(object):
|
|
|
trace_id是否以search开头
|
|
|
"""
|
|
|
if self.trace_id.startswith('search'):
|
|
|
- return True
|
|
|
+ return server_const.ARTICLES_VIDEO
|
|
|
+
|
|
|
+ elif self.trace_id.startswith('video'):
|
|
|
+ return server_const.SEARCH_VIDEO
|
|
|
+
|
|
|
else:
|
|
|
return False
|
|
|
|