From 96b2eeaf26db6fa49beb4dbd8221c462f450e2b9 Mon Sep 17 00:00:00 2001 From: liudongqi Date: Wed, 4 Sep 2024 14:37:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/index.js b/routes/index.js index 8ef3598..5c2ecb0 100644 --- a/routes/index.js +++ b/routes/index.js @@ -13,6 +13,7 @@ let store = new Store(); router.post('/rsCookie', async (req, res) => { let start = new Date(); try { + console.log('request body------>', req.body) let url = req.body['url']; let areaName = req.body['areaName']; let htmlStr = req.body['htmlBase64']; @@ -70,7 +71,6 @@ function loadJs(window, jsText) { } js += ";\n" } - return js; } @@ -105,7 +105,7 @@ async function handle(url, htmlStr, jsText, cookie, userAgent) { browser(window, 'chrome'); // 加载js let js = loadJs(window, jsText); - // console.log('js 加载--->', js) + console.log('js 加载--->', js) // 执行 js let script = new Script(js);