|
@ -93,6 +93,7 @@ async function checkToken(token) { |
|
|
instance.defaults.timeout = 30000; |
|
|
instance.defaults.timeout = 30000; |
|
|
const res = await instance.post('/istokenvalidsso',params,options); |
|
|
const res = await instance.post('/istokenvalidsso',params,options); |
|
|
if(res.status == 200){ |
|
|
if(res.status == 200){ |
|
|
|
|
|
console.log(JSON.stringify(res)) |
|
|
return res.data |
|
|
return res.data |
|
|
}else{ |
|
|
}else{ |
|
|
console.log("noerror: " + res) |
|
|
console.log("noerror: " + res) |
|
@ -228,7 +229,7 @@ global.pipelines=[]; |
|
|
indexfind === -1 ? global.pipelines.push(resob) : console.log("object already exists") |
|
|
indexfind === -1 ? global.pipelines.push(resob) : console.log("object already exists") |
|
|
|
|
|
|
|
|
//console.log('info', JSON.stringify(resdata));
|
|
|
//console.log('info', JSON.stringify(resdata));
|
|
|
console.log('info------------- ', JSON.stringify(global.pipelines)); |
|
|
//console.log('info------------- ', JSON.stringify(global.pipelines));
|
|
|
})() |
|
|
})() |
|
|
}) |
|
|
}) |
|
|
.on('addDir', function(path) { |
|
|
.on('addDir', function(path) { |
|
|