|
@@ -129,6 +129,7 @@ async function processTask(){
|
|
|
let update_result
|
|
|
if(Ids.length>0){
|
|
|
update_result = await origin_data_controllers.updateOriginDataByIds({ids:Ids},{status:1})
|
|
|
+ console.log("ids:",ids)
|
|
|
if(update_result.success){
|
|
|
console.log("成功更新:",update_result.message)
|
|
|
}else{
|
|
@@ -143,7 +144,7 @@ async function processTask(){
|
|
|
}catch(e){
|
|
|
console.log("筛选数据错误:",e)
|
|
|
} finally{
|
|
|
- global.setTimeout(processTask,time_count)
|
|
|
+ // global.setTimeout(processTask,time_count)
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -449,7 +450,7 @@ function parsePromotion(promotion,source_list,platform_select,PlatformConfig){
|
|
|
let channel = getChannel(params['start_page'],platform_select,promotion,PlatformConfig)
|
|
|
// console.log("source_list:",source_list,platform_select,channel,params['start_page'],params)
|
|
|
if(channel!=null){
|
|
|
- console.log("channel:",channel,promotion)
|
|
|
+ // console.log("channel:",channel,promotion)
|
|
|
let item_info = {}
|
|
|
item_info['book_id'] = params['bookId'];
|
|
|
item_info['channel'] = channel;
|