更新项目配置,新增设备同步模块,优化WebSocket和Swagger配置,增强SCADA系统的免登录接口,支持数据字典项和登录日志的免登录查询与记录。调整Java编译设置,确保更好的开发体验。
This commit is contained in:
15
yy-admin-master/.vscode/launch.json
vendored
Normal file
15
yy-admin-master/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "YY.Admin 一键启动",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "YY.Admin: build",
|
||||
"program": "${workspaceFolder}/YY.Admin/bin/Debug/net8.0-windows10.0.19041/win-x64/YY.Admin.exe",
|
||||
"cwd": "${workspaceFolder}/YY.Admin/bin/Debug/net8.0-windows10.0.19041/win-x64",
|
||||
"console": "internalConsole",
|
||||
"stopAtEntry": false
|
||||
}
|
||||
]
|
||||
}
|
||||
19
yy-admin-master/.vscode/run-yyadmin.ps1
vendored
Normal file
19
yy-admin-master/.vscode/run-yyadmin.ps1
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$dotnet = "C:\Program Files\dotnet\dotnet.exe"
|
||||
$solution = Join-Path $PSScriptRoot "..\YY.Admin.Entry.sln"
|
||||
$exe = Join-Path $PSScriptRoot "..\YY.Admin\bin\Debug\net8.0-windows10.0.19041\win-x64\YY.Admin.exe"
|
||||
$exeDir = Split-Path $exe -Parent
|
||||
|
||||
& $dotnet build $solution -c Debug
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
|
||||
Push-Location $exeDir
|
||||
try {
|
||||
& $exe
|
||||
}
|
||||
finally {
|
||||
Pop-Location
|
||||
}
|
||||
5
yy-admin-master/.vscode/settings.json
vendored
Normal file
5
yy-admin-master/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"terminal.integrated.env.windows": {
|
||||
"PATH": "C:\\Program Files\\dotnet;${env:PATH}"
|
||||
}
|
||||
}
|
||||
53
yy-admin-master/.vscode/tasks.json
vendored
Normal file
53
yy-admin-master/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "YY.Admin: restore",
|
||||
"type": "process",
|
||||
"command": "C:\\Program Files\\dotnet\\dotnet.exe",
|
||||
"args": ["restore", "YY.Admin.Entry.sln"],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "YY.Admin: build",
|
||||
"type": "process",
|
||||
"command": "C:\\Program Files\\dotnet\\dotnet.exe",
|
||||
"args": ["build", "YY.Admin.Entry.sln", "-c", "Debug"],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"dependsOn": "YY.Admin: restore",
|
||||
"problemMatcher": "$msCompile",
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "YY.Admin: run",
|
||||
"type": "process",
|
||||
"command": "${workspaceFolder}\\YY.Admin\\bin\\Debug\\net8.0-windows10.0.19041\\win-x64\\YY.Admin.exe",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}\\YY.Admin\\bin\\Debug\\net8.0-windows10.0.19041\\win-x64"
|
||||
},
|
||||
"dependsOn": "YY.Admin: build",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "dotnet run --project YY.Admin.csproj --no-build",
|
||||
"type": "process",
|
||||
"command": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
|
||||
"args": [
|
||||
"-NoProfile",
|
||||
"-ExecutionPolicy",
|
||||
"Bypass",
|
||||
"-File",
|
||||
"${workspaceFolder}\\.vscode\\run-yyadmin.ps1"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"problemMatcher": "$msCompile"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user