From 1dc3d985960f28daeb9867843472632ccc9d117d Mon Sep 17 00:00:00 2001 From: linyuanshi Date: Tue, 24 Sep 2024 15:09:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/service/FpService.js | 2 + routes/service/static/fp/fp-crypt.js | 1 + test/fp/invoice-business.html | 2 +- test/fp/test_ueryFpgetNsrjbxx.js | 104 ++++++++++++++++++ test/fp/test_ueryFpjcxxDC.js | 115 +++++++++++++++++++ test/fp/test_ueryFpjcxxid.js | 158 +++++++++++++++++++++++++++ 6 files changed, 381 insertions(+), 1 deletion(-) create mode 100644 test/fp/test_ueryFpgetNsrjbxx.js create mode 100644 test/fp/test_ueryFpjcxxDC.js create mode 100644 test/fp/test_ueryFpjcxxid.js diff --git a/routes/service/FpService.js b/routes/service/FpService.js index 35b60bf..79d5f42 100644 --- a/routes/service/FpService.js +++ b/routes/service/FpService.js @@ -57,11 +57,13 @@ class FpService { } let fpCrypt = new FpCrypt(loginCookieStr); + let handleParam = fpCrypt.handleParam(param, urlPath); var enParam = "" if (handleParam["enVal"]){ enParam = JSON.stringify({'Jmbw': handleParam["enVal"]}); } + // headers['security-mes-key'] = $e["enMesKey"] let handleSuffix = fpCrypt.handleSuffix(urlPath); let los = window[window["_d_ts"]](handleSuffix, enParam); diff --git a/routes/service/static/fp/fp-crypt.js b/routes/service/static/fp/fp-crypt.js index abcb29a..19d977b 100644 --- a/routes/service/static/fp/fp-crypt.js +++ b/routes/service/static/fp/fp-crypt.js @@ -26,6 +26,7 @@ class FpCrypt { c = 0, s, l, f, d, p, h; if (!t) return t; if (t['indexOf']('cssSecurity/v1/getPublicKey') > -1) return t; + if (t['indexOf']('qlfpcx/v1/queryFpjcxxDc') > -1) return t; s = t; l = this.Re(); // f = l['publicKey']; diff --git a/test/fp/invoice-business.html b/test/fp/invoice-business.html index d4a5896..f9fa89d 100644 --- a/test/fp/invoice-business.html +++ b/test/fp/invoice-business.html @@ -1,4 +1,4 @@ -纳税人端WEB应用
纳税人端WEB应用