去除校验

master
刘东琪 8 months ago
parent b2594b9c5e
commit 63f8cfb627
  1. 8
      routes/Fp.js
  2. 1
      routes/service/FpService.js

@ -25,10 +25,10 @@ router.post('/getLos', async (req, res) => {
try { try {
// 执行 // 执行
let los = await fpService.get_los(url, param, html, loginCookieStr, publicKey); let los = await fpService.get_los(url, param, html, loginCookieStr, publicKey);
if (!los || los['hd'] === '') { // if (!los || los['hd'] === '') {
console.error(`${uuid}; 生成错误!请检查 html 或 cookie, los:${JSON.stringify(los)}`) // console.error(`${uuid}; 生成错误!请检查 html 或 cookie, los:${JSON.stringify(los)}`)
return res.status(500).send('生成错误!请检查 html 或 cookie') // return res.status(500).send('生成错误!请检查 html 或 cookie')
} // }
return res.status(200).send(los); return res.status(200).send(los);
} catch (e) { } catch (e) {
console.error(e.stack) console.error(e.stack)

@ -62,6 +62,7 @@ class FpService {
} }
// 处理 xhr 后缀 // 处理 xhr 后缀
let handleSuffix = fpCrypt.handleSuffix(urlPath); let handleSuffix = fpCrypt.handleSuffix(urlPath);
console.log(`处理 xhr 后缀 ${JSON.stringify(handleSuffix)}`)
let los = window[window["_d_ts"]](handleSuffix, enParam); let los = window[window["_d_ts"]](handleSuffix, enParam);
headers['lzkqow23819'] = los.hd headers['lzkqow23819'] = los.hd

Loading…
Cancel
Save