|
@ -452,6 +452,7 @@ function onCollection(err, collection) { |
|
|
var issend = getSHA256ofJSON(issendob) |
|
|
var issend = getSHA256ofJSON(issendob) |
|
|
|
|
|
|
|
|
console.log('++++++++' + JSON.stringify(data)); |
|
|
console.log('++++++++' + JSON.stringify(data)); |
|
|
|
|
|
console.log('++++++++' + JSON.stringify(issend)); |
|
|
|
|
|
|
|
|
var pathfileval = pathmodule.basename(data.tailed_path); |
|
|
var pathfileval = pathmodule.basename(data.tailed_path); |
|
|
var arrfile = pathfileval.toString().split("-"); |
|
|
var arrfile = pathfileval.toString().split("-"); |
|
@ -461,7 +462,7 @@ function onCollection(err, collection) { |
|
|
var resob = {} |
|
|
var resob = {} |
|
|
await pubClient.get(pathfileval, function(err, object) { |
|
|
await pubClient.get(pathfileval, function(err, object) { |
|
|
console.log('----------------' + err + '<<<<<<<<<<<<<<<<<<<<<<' + object); |
|
|
console.log('----------------' + err + '<<<<<<<<<<<<<<<<<<<<<<' + object); |
|
|
if(object){ |
|
|
if(ress == null){ |
|
|
indexupdate = "no" |
|
|
indexupdate = "no" |
|
|
}else{ |
|
|
}else{ |
|
|
console.log('redis '+JSON.stringify(object)); |
|
|
console.log('redis '+JSON.stringify(object)); |
|
|