服务启动

This commit is contained in:
2025-10-05 18:00:29 +08:00
parent ef96570896
commit 1970865acb
25 changed files with 558 additions and 54 deletions

38
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,38 @@
{
"configurations": [
{
"type": "java",
"name": "School News Admin",
"request": "launch",
"cwd": "${workspaceFolder}/schoolNewsServ/admin",
"mainClass": "org.xyzh.App",
"projectName": "admin",
"args": "",
"vmArgs": "-Dspring.profiles.active=dev",
"console": "integratedTerminal",
"envFile": "${workspaceFolder}/.env",
"preLaunchTask": ""
},
{
"type": "java",
"name": "Spring Boot-Main<admin>",
"request": "launch",
"cwd": "${workspaceFolder}",
"mainClass": "org.xyzh.Main",
"projectName": "admin",
"args": "",
"envFile": "${workspaceFolder}/.env",
"vmArgs": " -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8744 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.jmx.enabled=true -Djava.rmi.server.hostname=localhost -Dspring.application.admin.enabled=true -Dspring.boot.project.name=admin"
},
{
"type": "java",
"name": "Spring Boot-Main<api-all>",
"request": "launch",
"cwd": "${workspaceFolder}",
"mainClass": "org.xyzh.Main",
"projectName": "api-all",
"args": "",
"envFile": "${workspaceFolder}/.env"
}
]
}