admin/rebuild_backend_with_logs.bat
lvfengfree 8b07d8f52a feat: 实现 AMT 设备自动添加功能(仅 Digest 认证)
- 添加 AMT Digest 认证服务 (AmtDigestService)
- 添加 AMT 模拟服务用于测试 (AmtMockService)
- 更新设备控制器支持 AMT 连接测试和设备信息获取
- 前端添加 AMT 自动添加方式,支持手动输入和凭证选择
- 移除 Basic 认证,仅使用 Digest 认证
- 添加 Apache HttpClient 依赖支持 Digest 认证
- 创建相关文档和测试脚本
2026-03-01 14:51:35 +08:00

41 lines
866 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
echo ========================================
echo 重新编译后端并启动(带详细日志)
echo ========================================
echo.
cd backend
echo [1/2] 清理并重新编译...
call mvn clean compile
if %ERRORLEVEL% NEQ 0 (
echo.
echo 编译失败!请检查错误信息。
pause
exit /b 1
)
echo.
echo [2/2] 启动后端服务(带详细日志)...
echo.
echo ========================================
echo 后端服务启动中...
echo ========================================
echo.
echo 日志级别DEBUG
echo 端口8080
echo.
echo 提示:
echo - 查看控制台输出了解详细日志
echo - AMT 测试连接时会显示详细的连接过程
echo - 按 Ctrl+C 停止服务
echo.
REM 设置日志级别为 DEBUG
set JAVA_OPTS=-Dlogging.level.com.soybean.admin=DEBUG
call mvn spring-boot:run
pause