This commit is contained in:
2025-10-07 11:02:35 +08:00
parent c20b5af014
commit 8bd1edc75d
32 changed files with 1949 additions and 418 deletions

6
.vscode/launch.json vendored
View File

@@ -8,10 +8,12 @@
"mainClass": "org.xyzh.App",
"projectName": "admin",
"args": "",
"vmArgs": "-Dspring.profiles.active=dev -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8 -Duser.timezone=Asia/Shanghai",
"vmArgs": "-Dspring.profiles.active=dev -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8 -Duser.timezone=Asia/Shanghai -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8",
"console": "integratedTerminal",
"envFile": "${workspaceFolder}/.env",
"preLaunchTask": "set-console-utf8"
"env": {
"JAVA_TOOL_OPTIONS": "-Dfile.encoding=UTF-8"
}
},
{
"type": "java",

15
.vscode/settings.json vendored
View File

@@ -9,5 +9,18 @@
"editor.tabSize": 4
},
"maven.view": "hierarchical",
"java.compile.nullAnalysis.mode": "automatic"
"java.compile.nullAnalysis.mode": "automatic",
// 终端编码设置
"terminal.integrated.encoding": "utf8",
"terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"args": ["-NoExit", "-Command", "chcp 65001"]
},
"Command Prompt": {
"path": "cmd.exe",
"args": ["/k", "chcp 65001"]
}
}
}

18
.vscode/tasks.json vendored
View File

@@ -1,18 +0,0 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "set-console-utf8",
"type": "shell",
"command": "chcp",
"args": ["65001"],
"group": "build",
"presentation": {
"echo": false,
"reveal": "silent",
"focus": false,
"panel": "shared"
}
}
]
}