|
@@ -82,7 +82,7 @@ async function processTask(){
|
|
|
let task_list = []
|
|
|
for (let index = 0; index < all_platform_list.length; index++) {
|
|
|
const tg_platform_id = all_platform_list[index];
|
|
|
- let temp_result = await video_applet_product_controllers.getAppletProductByBookPlatformAndLimit({status:0,wait_status:0,book_platform:tg_platform_id},10)
|
|
|
+ let temp_result = await video_applet_product_controllers.getAppletProductByBookPlatformAndLimit({status:0,wait_status:0,book_platform:tg_platform_id},1)
|
|
|
if(temp_result.success){
|
|
|
task_list = temp_result.data
|
|
|
break
|
|
@@ -145,6 +145,8 @@ async function processTask(){
|
|
|
main_info:main_info,
|
|
|
PlatformInfo:PlatformInfo
|
|
|
})
|
|
|
+
|
|
|
+ await processCreateLinkTask()
|
|
|
}
|
|
|
}
|
|
|
}catch(e){
|
|
@@ -172,11 +174,11 @@ async function processCreateLinkTask(){
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- await new Promise(resolve => setTimeout(resolve,100));
|
|
|
+ // await new Promise(resolve => setTimeout(resolve,100));
|
|
|
}catch(e){
|
|
|
|
|
|
} finally{
|
|
|
- global.setTimeout(processCreateLinkTask,time_count)
|
|
|
+ // global.setTimeout(processCreateLinkTask,time_count)
|
|
|
}
|
|
|
}
|
|
|
CMD.init = function(){
|
|
@@ -185,7 +187,7 @@ CMD.init = function(){
|
|
|
}
|
|
|
})
|
|
|
processTask()
|
|
|
- processCreateLinkTask()
|
|
|
+ // processCreateLinkTask()
|
|
|
}
|
|
|
|
|
|
|