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/templates/sharecomponent/datasourcecomponent/verifycard/index.jsx |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/templates/sharecomponent/datasourcecomponent/verifycard/index.jsx b/src/templates/sharecomponent/datasourcecomponent/verifycard/index.jsx
index 821bf0d..06d871d 100644
--- a/src/templates/sharecomponent/datasourcecomponent/verifycard/index.jsx
+++ b/src/templates/sharecomponent/datasourcecomponent/verifycard/index.jsx
@@ -150,8 +150,7 @@
     
     _sParam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
     _sParam.secretkey = Utils.encrypt(_sParam.LText, _sParam.timestamp)
-
-    _sParam.open_key = Utils.encrypt(_sParam.secretkey, _sParam.timestamp, true) // 浜戠鏁版嵁楠岃瘉
+    _sParam.open_key = Utils.encryptOpenKey(_sParam.secretkey, _sParam.timestamp) // 浜戠鏁版嵁楠岃瘉
     
     Api.getSystemConfig(_sParam).then(res => {
       if (res.status) {
@@ -160,7 +159,7 @@
         res.data.forEach(item => {
           let _item = {
             name: item.funcname,
-            value: Utils.formatOptions(item.longparam, true)
+            value: Utils.UnformatOptions(item.longparam)
           }
 
           _scripts.push(_item)

--
Gitblit v1.8.0