admin/rebuild_and_check_logs.bat
lvfengfree c1111b8b09 fix: 修复 AMT 凭证 ID 类型问题
- 将 AmtTestRequest 的 credentialId 从 Long 改为 String(支持 UUID)
- 更新 AmtDigestService 处理字符串类型的凭证 ID
- 前端不再将 credentialId 转换为数字,直接发送字符串
- 添加详细日志用于调试凭证获取过程
- 修复使用保存凭证时的认证失败问题
2026-03-01 15:34:28 +08:00

37 lines
791 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 清理旧的编译文件...
call mvn clean
echo.
echo 重新编译项目...
call mvn compile
echo.
echo 打包项目...
call mvn package -DskipTests
echo.
echo ========================================
echo 编译完成!
echo ========================================
echo.
echo 现在启动后端服务并查看日志:
echo cd backend
echo java -jar target/soybean-admin-0.0.1-SNAPSHOT.jar
echo.
echo 测试时请注意查看控制台输出的日志信息
echo 特别关注以下内容:
echo - 使用凭证 ID: xxx
echo - 查询凭证ID字符串: xxx
echo - 找到凭证: xxx, 用户名: xxx
echo.
pause