From 1d84c5db5577d875a1f07a6247d5b35824256d30 Mon Sep 17 00:00:00 2001 From: weiweiw <14335254+weiweiw22@user.noreply.gitee.com> Date: Thu, 7 Nov 2024 15:01:48 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=A4=87=E4=BB=BD=E5=8A=9F=E8=83=BD=E5=92=8C=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E6=97=A5=E5=BF=97=20=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/log.js | 2 +- src/views/system/log/abnormalLog/index.vue | 4 ++-- src/views/system/log/businessLog/index.vue | 4 ++-- src/views/system/log/logAnalyse/index.vue | 1 + src/views/system/log/systemLog/index.vue | 6 +++--- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/api/system/log.js b/src/api/system/log.js index 80d6e06a..fc3b90b2 100644 --- a/src/api/system/log.js +++ b/src/api/system/log.js @@ -30,7 +30,7 @@ export function getSysLogs(data) { //备份系统日志列表 export function downloadSysLogs(data) { return request({ - url: '/sys/sysLog/downloadSysLogs', + url: '/system/sys/sysLog/downloadSysLogs', method: 'get', params: data, responseType: 'blob' diff --git a/src/views/system/log/abnormalLog/index.vue b/src/views/system/log/abnormalLog/index.vue index 0756171e..518fd7c2 100644 --- a/src/views/system/log/abnormalLog/index.vue +++ b/src/views/system/log/abnormalLog/index.vue @@ -39,9 +39,9 @@ 重置 - + 重置 - + 日志类型 操作类型 + 操作人 查询 diff --git a/src/views/system/log/systemLog/index.vue b/src/views/system/log/systemLog/index.vue index 1759d266..52abe27b 100644 --- a/src/views/system/log/systemLog/index.vue +++ b/src/views/system/log/systemLog/index.vue @@ -42,9 +42,9 @@ 重置 - + Date: Fri, 8 Nov 2024 10:27:51 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/configure.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/configure.js b/src/utils/configure.js index f3e168eb..2925eb16 100644 --- a/src/utils/configure.js +++ b/src/utils/configure.js @@ -21,9 +21,9 @@ export function generateUUID() { }); } -// 使用示例 -const uuid = generateUUID(); -console.log(uuid); +// // 使用示例 +// const uuid = generateUUID(); +// console.log(uuid); module.exports = { SM_CONFIG, AES_CONFIG, From 295174579e8936c01616efa85615eeaeb429676d Mon Sep 17 00:00:00 2001 From: weiweiw <14335254+weiweiw22@user.noreply.gitee.com> Date: Fri, 8 Nov 2024 10:35:39 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/configure.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/utils/configure.js b/src/utils/configure.js index 2925eb16..1c966d84 100644 --- a/src/utils/configure.js +++ b/src/utils/configure.js @@ -1,5 +1,5 @@ // SM 配置 -const SM_CONFIG = { +export const SM_CONFIG = { SALT: '2cc0c5f9f1749f1632efa9f63e902323', // SM3 盐值(16 字节) SM4_KEY:"78d1295afa99449b99d6f83820e6965c", // SM4 对称加密密钥 SM4_SALT:generateUUID(), @@ -7,7 +7,7 @@ const SM_CONFIG = { SM2_PRIVATE_KEY: 'your-private-key' // SM2 私钥 } // AES 配置 -const AES_CONFIG = { +export const AES_CONFIG = { AES_KEY: 'zhgd@bonus@zhgd@bonus@1234567890', // AES key值 AES_IV: '1234567812345678' // AES 偏移量 } @@ -24,7 +24,7 @@ export function generateUUID() { // // 使用示例 // const uuid = generateUUID(); // console.log(uuid); -module.exports = { - SM_CONFIG, - AES_CONFIG, -} +// module.exports = { +// SM_CONFIG, +// AES_CONFIG, +// }