diff --git a/routes/Fp.js b/routes/Fp.js index c570083..728d028 100644 --- a/routes/Fp.js +++ b/routes/Fp.js @@ -25,10 +25,10 @@ router.post('/getLos', async (req, res) => { try { // 执行 let los = await fpService.get_los(url, param, html, loginCookieStr, publicKey); - if (!los || los['hd'] === '') { - console.error(`${uuid}; 生成错误!请检查 html 或 cookie, los:${JSON.stringify(los)}`) - return res.status(500).send('生成错误!请检查 html 或 cookie') - } + // if (!los || los['hd'] === '') { + // console.error(`${uuid}; 生成错误!请检查 html 或 cookie, los:${JSON.stringify(los)}`) + // return res.status(500).send('生成错误!请检查 html 或 cookie') + // } return res.status(200).send(los); } catch (e) { console.error(e.stack) diff --git a/routes/service/FpService.js b/routes/service/FpService.js index a4cd5b1..aa2c2ef 100644 --- a/routes/service/FpService.js +++ b/routes/service/FpService.js @@ -62,6 +62,7 @@ class FpService { } // 处理 xhr 后缀 let handleSuffix = fpCrypt.handleSuffix(urlPath); + console.log(`处理 xhr 后缀 ${JSON.stringify(handleSuffix)}`) let los = window[window["_d_ts"]](handleSuffix, enParam); headers['lzkqow23819'] = los.hd