20260608173128
This commit is contained in:
1 parent
930f03954a
commit
65685d1a6a
29 files changed
+289
-58
No files matched your search
+1
-7
@@ -15,13 +15,7 @@ public class GlobalExceptionHandler {
|
||||
public Result<ExceptionDetailInfo> handleException(Exception ex, HttpServletRequest request) {
|
||||
ExceptionDetailInfo info = ExceptionUtils.extractExceptionInfo(ex, request, "cn.g3soft");
|
||||
|
||||
log.error("异常发生在 {}#{}({}:{}),ID: {},信息: {}",
|
||||
info.getClassName(),
|
||||
info.getMethodName(),
|
||||
info.getFileName(),
|
||||
info.getLineNumber(),
|
||||
info.getId(),
|
||||
info.getSummary());
|
||||
log.error("系统异常: {}", info);
|
||||
|
||||
ex.printStackTrace();
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ spring:
|
||||
time-zone: "Asia/Shanghai"
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
profiles:
|
||||
active: dev
|
||||
active: build
|
||||
|
||||
file:
|
||||
base-dir: D:/data/file
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
url=jdbc:sqlserver://118.89.70.199:1433;databaseName=G3BoxOCR
|
||||
username=sa
|
||||
password=zhang520..
|
||||
driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
|
||||
#url=jdbc:sqlserver://127.0.0.1:1433;databaseName=G3ContainerOCR
|
||||
#url=jdbc:sqlserver://118.89.70.199:1433;databaseName=G3BoxOCR
|
||||
#username=sa
|
||||
#password=123456@aaa
|
||||
#password=zhang520..
|
||||
#driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
|
||||
url=jdbc:sqlserver://127.0.0.1:1433;databaseName=G3ContainerOCR
|
||||
username=sa
|
||||
password=123456@aaa
|
||||
driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
|
||||
Reference in new issue
Block a user