refactor(接口命名): 统一接口命名规范并重构相关实现
将接口命名统一调整为以I开头,并重构相关实现类和服务调用 重构审计日志和网关路由服务接口,优化代码结构 删除旧接口文件,更新依赖接口的类
This commit is contained in:
+2
-2
@@ -35,9 +35,9 @@ public class GlobalExceptionHandler {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(GlobalExceptionHandler.class);
|
||||
|
||||
private final ExceptionLogService exceptionLogService;
|
||||
private final IExceptionLogService exceptionLogService;
|
||||
|
||||
public GlobalExceptionHandler(ExceptionLogService exceptionLogService) {
|
||||
public GlobalExceptionHandler(IExceptionLogService exceptionLogService) {
|
||||
this.exceptionLogService = exceptionLogService;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -10,9 +10,9 @@ import reactor.core.publisher.Mono;
|
||||
* 算法:使用响应式编程实现异步日志记录
|
||||
*
|
||||
* @author 张翔
|
||||
* @date 2026-03-13
|
||||
* @date 2026-04-14
|
||||
*/
|
||||
public interface ExceptionLogService {
|
||||
public interface IExceptionLogService {
|
||||
Mono<Void> logException(String title, String exceptionName, String exceptionMsg,
|
||||
String methodName, String ip, String stackTrace);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user