From b987be8dd8b6bc1fa01810daa1e1a60e58a3c921 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 04 九月 2020 17:24:36 +0800
Subject: [PATCH] 2020-09-04

---
 src/tabviews/zshare/actionList/normalbutton/index.jsx |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index dccda3a..1fd16f9 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -295,11 +295,11 @@
         }
 
         if (this.props.menuType === 'HS' && param.timestamp) { // 鍑芥暟 sPC_TableData_InUpDe 浜戠楠岃瘉
-          param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
+          param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp)
         } else if (this.props.menuType === 'HS' && param.func === 's_sDataDictb_TBBack' && param.LTextOut) { // 鍑芥暟 s_sDataDictb_TBBack 浜戠楠岃瘉
           param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
           param.secretkey = Utils.encrypt(param.LTextOut, param.timestamp)
-          param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
+          param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp)
         }
 
         Api.genericInterface(param).then((res) => {
@@ -421,11 +421,11 @@
           }
 
           if (this.props.menuType === 'HS' && param.timestamp) { // 鍑芥暟 sPC_TableData_InUpDe 浜戠楠岃瘉
-            param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
+            param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp)
           } else if (this.props.menuType === 'HS' && param.func === 's_sDataDictb_TBBack' && param.LTextOut) { // 鍑芥暟 s_sDataDictb_TBBack 浜戠楠岃瘉
             param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
             param.secretkey = Utils.encrypt(param.LTextOut, param.timestamp)
-            param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
+            param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp)
           }
 
           return param
@@ -581,7 +581,7 @@
         if (this.props.menuType === 'HS' && param.func === 's_sDataDictb_TBBack' && param.LTextOut) {
           param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
           param.secretkey = Utils.encrypt(param.LTextOut, param.timestamp)
-          param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
+          param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp)
         }
 
         // 瀛樺湪鍐呴儴鍑芥暟鏃讹紝鏁版嵁棰勫鐞�
@@ -630,7 +630,7 @@
         if (res.func === 's_sDataDictb_TBBack' && res.LTextOut) {
           res.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
           res.secretkey = Utils.encrypt(res.LTextOut, res.timestamp)
-          res.open_key = Utils.encrypt(res.secretkey, res.timestamp, true)
+          res.open_key = Utils.encryptOpenKey(res.secretkey, res.timestamp)
         }
       } else {
         if (btn.sysInterface === 'true' && window.GLOB.mainSystemApi) {
@@ -657,7 +657,7 @@
         if (this.props.menuType === 'HS' && _callbackparam.func === 's_sDataDictb_TBBack' && _callbackparam.LTextOut) {
           _callbackparam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
           _callbackparam.secretkey = Utils.encrypt(_callbackparam.LTextOut, _callbackparam.timestamp)
-          _callbackparam.open_key = Utils.encrypt(_callbackparam.secretkey, _callbackparam.timestamp, true)
+          _callbackparam.open_key = Utils.encryptOpenKey(_callbackparam.secretkey, _callbackparam.timestamp)
         }
 
         return Api.genericInterface(_callbackparam)

--
Gitblit v1.8.0