refactor(接口命名): 统一接口命名规范并重构相关实现

将接口命名统一调整为以I开头,并重构相关实现类和服务调用
重构审计日志和网关路由服务接口,优化代码结构
删除旧接口文件,更新依赖接口的类
This commit is contained in:
张翔
2026-04-14 18:46:44 +08:00
parent 7e54d7fb46
commit fdca179d45
19 changed files with 757 additions and 565 deletions
@@ -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;
}
@@ -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);
}
}