写好了会话过期后自动重发

This commit is contained in:
2023-12-15 09:42:51 +00:00
parent be33f6f29a
commit d2e6f2ca29
3 changed files with 31 additions and 17 deletions

View File

@ -84,7 +84,7 @@ backend.stdout.on('data', (data) => {
else{
res_block=line+'\n';
to_be_collect=parseInt(line.split(' ')[2]);
if(to_be_collect==0)
if(to_be_collect<=0)
{
const substrings = res_block.trim().split('\n')[0].split(' ');
const session_token=substrings[0];