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/zshare/createfunc/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/templates/zshare/createfunc/index.jsx b/src/templates/zshare/createfunc/index.jsx
index 7c4e88d..37e62ab 100644
--- a/src/templates/zshare/createfunc/index.jsx
+++ b/src/templates/zshare/createfunc/index.jsx
@@ -143,7 +143,7 @@
 
       _param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
       _param.secretkey = Utils.encrypt(_param.LText, _param.timestamp)
-      _param.open_key = Utils.encrypt(_param.secretkey, _param.timestamp, true)
+      _param.open_key = Utils.encryptOpenKey(_param.secretkey, _param.timestamp)
 
       return Api.getLocalConfig(_param)
     }).then(res => {
@@ -171,7 +171,7 @@
       }
       _param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
       _param.secretkey = Utils.encrypt(_param.LText, _param.timestamp)
-      _param.open_key = Utils.encrypt(_param.secretkey, _param.timestamp, true)
+      _param.open_key = Utils.encryptOpenKey(_param.secretkey, _param.timestamp)
 
       return Api.getLocalConfig(_param)
     }).then(res => {

--
Gitblit v1.8.0