From c0e017668d780c40f85230f227ea0160b5d22d4d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 20 二月 2024 14:13:00 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/templates/zshare/createfunc/index.jsx |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/templates/zshare/createfunc/index.jsx b/src/templates/zshare/createfunc/index.jsx
index d464a7f..a707f0b 100644
--- a/src/templates/zshare/createfunc/index.jsx
+++ b/src/templates/zshare/createfunc/index.jsx
@@ -44,22 +44,24 @@
     // 鍒犻櫎瀛樺偍杩囩▼
     let droparam = {
       func: 'sPC_TableData_InUpDe',
-      LText: Utils.formatOptions(dropfunc),
+      LText: Utils.formatOptions(dropfunc, window.GLOB.execType || 'y'),
+      exec_type: window.GLOB.execType || 'y',
       TypeCharOne: 'proc' // 鍒犻櫎鎴栧垱寤哄瓨鍌ㄨ繃绋嬫爣蹇�
     }
 
     droparam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
-    droparam.secretkey = Utils.encrypt(droparam.LText, droparam.timestamp)
+    droparam.secretkey = Utils.encrypt('', droparam.timestamp)
     droparam.open_key = Utils.encryptOpenKey(droparam.secretkey, droparam.timestamp)
 
     // 鏂板缓瀛樺偍杩囩▼
     let _param = {
       func: 'sPC_TableData_InUpDe',
-      LText: Utils.formatOptions(newLText),
+      LText: Utils.formatOptions(newLText, window.GLOB.execType || 'y'),
+      exec_type: window.GLOB.execType || 'y',
       TypeCharOne: 'proc'
     }
     _param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
-    _param.secretkey = Utils.encrypt(_param.LText, _param.timestamp)
+    _param.secretkey = Utils.encrypt('', _param.timestamp)
     _param.open_key = Utils.encryptOpenKey(_param.secretkey, _param.timestamp)
 
     let saveParam = {

--
Gitblit v1.8.0