修复数据库问题

This commit is contained in:
qaq
2025-07-24 21:59:09 +08:00
parent 31e9ee621f
commit 83017b56f1
2 changed files with 36 additions and 19 deletions
@@ -35,7 +35,7 @@ public class GlobalExceptionHandler {
@ExceptionHandler(value = Exception.class)
public R Exception(Exception e){
log.error("异常:----------------{}", e.getMessage());
return R.err(-2, "异常错误");
return R.err(-2, e.getMessage());
}
}