|
@@ -10,7 +10,7 @@ import urllib.parse
|
|
|
|
|
|
from applications.log import logging
|
|
|
from applications.const import server_const
|
|
|
-from applications.functions import forward_request
|
|
|
+from applications.functions.forward_request import forward_requests
|
|
|
|
|
|
|
|
|
class Response(object):
|
|
@@ -329,8 +329,11 @@ class Response(object):
|
|
|
if trace_id_exist_flag:
|
|
|
return await self.job()
|
|
|
else:
|
|
|
- return {
|
|
|
- "traceId": self.trace_id,
|
|
|
- "code": 100,
|
|
|
- "message": "该 trace_id 不存在"
|
|
|
- }
|
|
|
+ response = await forward_requests(
|
|
|
+ params={
|
|
|
+ "traceId": self.trace_id,
|
|
|
+ "miniprogramUseType": self.mini_program_type
|
|
|
+ },
|
|
|
+ api="recall_videos"
|
|
|
+ )
|
|
|
+ return response
|