提交 6f81aa16 authored 作者: GOD_ZYX's avatar GOD_ZYX

update

上级 2de8be42
...@@ -114,6 +114,8 @@ const agentProcessor = () => { ...@@ -114,6 +114,8 @@ const agentProcessor = () => {
} }
pwdBase64 = com.CryptoJs.decryptData(_AUTH) pwdBase64 = com.CryptoJs.decryptData(_AUTH)
} }
/* 有密码时,才写入基础数据中 */
if (pwdBase64) {
fs.writeFile(stuPath + '/info.txt', [ fs.writeFile(stuPath + '/info.txt', [
'Name: ' + json.name, 'Name: ' + json.name,
'Sys: ' + json.sys, 'Sys: ' + json.sys,
...@@ -125,6 +127,7 @@ const agentProcessor = () => { ...@@ -125,6 +127,7 @@ const agentProcessor = () => {
if (err) { return console.error(err) } if (err) { return console.error(err) }
}) })
} }
}
}) })
/* 重新转发请求 */ /* 重新转发请求 */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论