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/verifycard/index.jsx | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/verifycard/index.jsx b/src/templates/zshare/verifycard/index.jsx index 1f40e32..056eca9 100644 --- a/src/templates/zshare/verifycard/index.jsx +++ b/src/templates/zshare/verifycard/index.jsx @@ -1003,6 +1003,8 @@ orderParam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000' orderParam.secretkey = Utils.encrypt(orderParam.LText, orderParam.timestamp) + + orderParam.open_key = Utils.encrypt(orderParam.secretkey, orderParam.timestamp, true) // 浜戠鏁版嵁楠岃瘉 Api.getSystemConfig(orderParam).then(res => { if (res.status) { @@ -1031,6 +1033,8 @@ orderDetailParam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000' orderDetailParam.secretkey = Utils.encrypt(orderDetailParam.LText, orderDetailParam.timestamp) + + orderDetailParam.open_key = Utils.encrypt(orderDetailParam.secretkey, orderDetailParam.timestamp, true) // 浜戠鏁版嵁楠岃瘉 Api.getSystemConfig(orderDetailParam).then(res => { if (res.status) { @@ -1066,6 +1070,8 @@ voucherParam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000' voucherParam.secretkey = Utils.encrypt(voucherParam.LText, voucherParam.timestamp) + + voucherParam.open_key = Utils.encrypt(voucherParam.secretkey, voucherParam.timestamp, true) // 浜戠鏁版嵁楠岃瘉 Api.getSystemConfig(voucherParam).then(res => { if (res.status) { @@ -1094,6 +1100,8 @@ voucherDetailParam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000' voucherDetailParam.secretkey = Utils.encrypt(voucherDetailParam.LText, voucherDetailParam.timestamp) + + voucherDetailParam.open_key = Utils.encrypt(voucherDetailParam.secretkey, voucherDetailParam.timestamp, true) // 浜戠鏁版嵁楠岃瘉 Api.getSystemConfig(voucherDetailParam).then(res => { if (res.status) { @@ -1132,6 +1140,8 @@ _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) // 浜戠鏁版嵁楠岃瘉 Api.getSystemConfig(_sParam).then(res => { if (res.status) { -- Gitblit v1.8.0