From 8d66ff34fae5b048a6b7923cc75d34f13a08be9d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 02 八月 2022 11:42:43 +0800 Subject: [PATCH] Merge branch 'develop' --- src/templates/sharecomponent/settingcalcomponent/verifycard/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/templates/sharecomponent/settingcalcomponent/verifycard/index.jsx b/src/templates/sharecomponent/settingcalcomponent/verifycard/index.jsx index d8918a1..a478d38 100644 --- a/src/templates/sharecomponent/settingcalcomponent/verifycard/index.jsx +++ b/src/templates/sharecomponent/settingcalcomponent/verifycard/index.jsx @@ -291,14 +291,15 @@ } else if (type === 'scripts' && _scripts.length === 0) { resolve() } else if (setting.execute !== 'false' || _scripts.length > 0) { + let timestamp = moment().format('YYYY-MM-DD HH:mm:ss') let param = { func: 's_debug_sql', exec_type: 'y', - LText: SettingUtils.getDebugSql(setting, _scripts, columns, this.getRegOptions(searches), config.calendar, config.urlFields) + LText: SettingUtils.getDebugSql(setting, _scripts, columns, this.getRegOptions(searches), config.calendar, config.urlFields, timestamp) } param.LText = Utils.formatOptions(param.LText) - param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') - param.secretkey = Utils.encrypt('', param.timestamp) + param.timestamp = timestamp + param.secretkey = Utils.encrypt('', timestamp) Api.getLocalConfig(param).then(result => { if (result.status) { -- Gitblit v1.8.0