From 6c16e43cd6521460c804391c042348dbb14086fc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 16 六月 2020 09:44:40 +0800 Subject: [PATCH] 2020-06-16 --- src/templates/zshare/createfunc/index.jsx | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/createfunc/index.jsx b/src/templates/zshare/createfunc/index.jsx index a53d62a..7c4e88d 100644 --- a/src/templates/zshare/createfunc/index.jsx +++ b/src/templates/zshare/createfunc/index.jsx @@ -143,6 +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) return Api.getLocalConfig(_param) }).then(res => { @@ -170,6 +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) return Api.getLocalConfig(_param) }).then(res => { -- Gitblit v1.8.0