feat(X-Pack): [数据填报]增加定时任务清理操作日志

This commit is contained in:
ulleo
2025-10-29 18:01:24 +08:00
committed by ulleo
parent 072eb7d2a7
commit 9d7a11e4d5
6 changed files with 7 additions and 0 deletions

View File

@@ -3812,6 +3812,7 @@ export default {
frontTimeOut: 'Request timeout (seconds)',
logLiveTime: 'Operation log retention time (days)',
thresholdLogLiveTime: 'Threshold alarm record retention time (days)',
dataFillingLogLiveTime: 'DataFilling operation log retention time (days)',
exportFileLiveTime: 'Background export file retention time (days)',
platformOid: 'Third-party platform user organization',
platformRid: 'Third-party platform user role',

View File

@@ -3701,6 +3701,7 @@ export default {
frontTimeOut: '請求超時時間 (秒)',
logLiveTime: '操作日誌保留時間 (天)',
thresholdLogLiveTime: '閾值警告記錄保留時間 (天)',
dataFillingLogLiveTime: '數據填報操作日誌保留時間 (天)',
exportFileLiveTime: '後台匯出檔案保留時間 (天)',
platformOid: '第三方平台使用者組織',
platformRid: '第三方平台使用者角色',

View File

@@ -3710,6 +3710,7 @@ export default {
frontTimeOut: '请求超时时间 (秒)',
logLiveTime: '操作日志保留时间 (天)',
thresholdLogLiveTime: '阈值告警记录保留时间 (天)',
dataFillingLogLiveTime: '数据填报操作日志保留时间 (天)',
exportFileLiveTime: '后台导出文件保留时间 (天)',
platformOid: '第三方平台用户组织',
platformRid: '第三方平台用户角色',

View File

@@ -32,6 +32,7 @@ const requireKeys = [
'logLiveTime',
'thresholdLogLiveTime',
'exportFileLiveTime',
'dataFillingLogLiveTime',
'frontTimeOut',
'loginLimitTime',
'loginLimitRate'
@@ -340,6 +341,7 @@ defineExpose({
v-else-if="
item.pkey === 'logLiveTime' ||
item.pkey === 'thresholdLogLiveTime' ||
item.pkey === 'dataFillingLogLiveTime' ||
item.pkey === 'loginLimitRate' ||
item.pkey === 'loginLimitTime'
"

View File

@@ -11,6 +11,7 @@ public class XpackSettingConstants {
public static final String PVP = "basic.pvp";
public static final String DEFAULT_LOGIN = "basic.defaultLogin";
public static final String THRESHOLD_LOG_LIVE_TIME = "basic.thresholdLogLiveTime";
public static final String DATA_FILLING_LOG_LIVE_TIME = "basic.dataFillingLogLiveTime";
public static final String DEFAULT_SORT = "basic.defaultSort";
public static final String DEFAULT_OPEN = "basic.defaultOpen";
public static final String LOGIN_LIMIT = "basic.loginLimit";

View File

@@ -16,6 +16,7 @@ public class SystemSettingUtils {
XpackSettingConstants.PLATFORM_RID,
XpackSettingConstants.DEFAULT_LOGIN,
XpackSettingConstants.THRESHOLD_LOG_LIVE_TIME,
XpackSettingConstants.DATA_FILLING_LOG_LIVE_TIME,
XpackSettingConstants.LOGIN_LIMIT,
XpackSettingConstants.LOGIN_LIMIT_RATE,
XpackSettingConstants.LOGIN_LIMIT_TIME);