Commit 1e04fef4 authored by 刘文胜's avatar 刘文胜

task undefined

parent 7f823748
...@@ -815,7 +815,7 @@ function batchUpdateCommentStatus(ent_code,ids,status,callback){ ...@@ -815,7 +815,7 @@ function batchUpdateCommentStatus(ent_code,ids,status,callback){
} }
var tasks = []; var tasks = [];
_.forEach(ids,function(id){ _.forEach(ids,function(id){
task.push(function(cb){ tasks.push(function(cb){
updateComemntStatus(ent_code,id,status,function(err,result){ updateComemntStatus(ent_code,id,status,function(err,result){
cb(); cb();
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment