mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	[新增][定时任务]重新申请 ApiAccessLog、ApiErrorLog、JobLog 3个日志的定时清理
This commit is contained in:
		| @@ -18,12 +18,4 @@ public interface ApiAccessLogApi { | ||||
|      */ | ||||
|     void createApiAccessLog(@Valid ApiAccessLogCreateReqDTO createDTO); | ||||
|  | ||||
|     // TODO @j-sentinel:这个我们先提供接口在 API,而是 infra 模块自己清理先哈; | ||||
|     /** | ||||
|      * 清理 @param accessLogJobDay 天的访问日志 | ||||
|      * | ||||
|      * @param accessLogJobDay 超过多少天就进行清理 | ||||
|      */ | ||||
|     void jobCleanAccessLog(Integer accessLogJobDay); | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -18,12 +18,4 @@ public interface ApiErrorLogApi { | ||||
|      */ | ||||
|     void createApiErrorLog(@Valid ApiErrorLogCreateReqDTO createDTO); | ||||
|  | ||||
|     // TODO @j-sentinel:这个我们先提供接口在 API,而是 infra 模块自己清理先哈; | ||||
|     /** | ||||
|      * 清理 @param errorLogJobDay 天的访问日志 | ||||
|      * | ||||
|      * @param errorLogJobDay 超过多少天就进行清理 | ||||
|      */ | ||||
|     void jobCleanErrorLog(Integer errorLogJobDay); | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 j-sentinel
					j-sentinel