|
@ -93,7 +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)) |
|
|
console.log("check " +JSON.stringify(res)) |
|
|
return res.data |
|
|
return res.data |
|
|
}else{ |
|
|
}else{ |
|
|
console.log("noerror: " + res) |
|
|
console.log("noerror: " + res) |
|
|