From 416b7c8bc2d9095b17e7a3c5fc239e1a5f107a30 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 01 二月 2024 11:51:15 +0800 Subject: [PATCH] 大接口加密 --- src/utils/utils-datamanage.js | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/utils/utils-datamanage.js b/src/utils/utils-datamanage.js index b2daf02..ce94801 100644 --- a/src/utils/utils-datamanage.js +++ b/src/utils/utils-datamanage.js @@ -568,8 +568,6 @@ let param = { func: 'sPC_Get_structured_data', - LText: _LText.join(' union all '), - LText_field: LText_field.join(' union all '), BID: BID, username: sessionStorage.getItem('User_Name') || '', fullName: sessionStorage.getItem('Full_Name') || '' @@ -579,12 +577,13 @@ param.menuname = config.MenuName } - let { LText, LText1, LText2 } = Utils.sPCInUpDeFormatOptions(param.LText) - - param.LText1 = LText1 - param.LText = LText - param.LText2 = LText2 - param.LText_field = Utils.formatOptions(param.LText_field) + param.exec_type = 'y' + param.LText = Utils.formatOptions(_LText.join(' union all ')) + param.custom_script = Utils.formatOptions(LText_field.join(' union all ')) + // param.LText1 = LText1 + // param.LText = LText + // param.LText2 = LText2 + // param.LText_field = Utils.formatOptions(param.LText_field) if (config.cacheUseful === 'true') { param.time_type = config.timeUnit @@ -596,7 +595,7 @@ } param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') - param.secretkey = Utils.encrypt(param.LText, param.timestamp) + param.secretkey = Utils.encrypt('', param.timestamp) return param } \ No newline at end of file -- Gitblit v1.8.0