chore: 清理旧迁移脚本并添加本地开发配置

- 删除旧的V10和V11迁移脚本(已被V12和V13替代)
- 更新BaseDomain和自动配置文件
- 删除旧的测试文件
- 添加本地开发配置文件
- 添加简化版应用启动类
This commit was merged in pull request #3.
This commit is contained in:
张翔
2026-04-15 23:39:02 +08:00
parent 648851df92
commit 2954e8cd2c
16 changed files with 1184 additions and 263 deletions
@@ -0,0 +1,33 @@
package cn.novalon.manage.common.handler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;
/**
* 默认异常日志服务实现
* 临时实现,用于解决启动时的依赖注入问题
*
* @author 张翔
* @date 2026-04-15
*/
@Service
public class DefaultExceptionLogService implements IExceptionLogService {
private static final Logger logger = LoggerFactory.getLogger(DefaultExceptionLogService.class);
@Override
public Mono<Void> logException(String title, String exceptionName, String exceptionMsg,
String methodName, String ip, String stackTrace) {
logger.warn("异常日志记录 (临时实现): title={}, exceptionName={}, methodName={}, ip={}",
title, exceptionName, methodName, ip);
logger.warn("异常信息: {}", exceptionMsg);
if (stackTrace != null && stackTrace.length() > 500) {
logger.warn("堆栈跟踪 (截断): {}", stackTrace.substring(0, 500) + "...");
} else if (stackTrace != null) {
logger.warn("堆栈跟踪: {}", stackTrace);
}
return Mono.empty();
}
}