落地报价模板主账与后台:合同映射、灌种 SQL/脚本、智能体填表,并补测服运维探针与合同文档对齐。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-14 14:09:45 +08:00
co-authored by Cursor
parent 8bdf4990a2
commit a70bce3c8f
138 changed files with 7239 additions and 1085 deletions
+28
View File
@@ -0,0 +1,28 @@
$ErrorActionPreference = 'Continue'
$candidates = @(
'E:\wwwroot\tools\apache-maven-3.9.9\bin\mvn.cmd',
'C:\yutongda\tools\apache-maven-3.9.9\bin\mvn.cmd',
'C:\Program Files\Apache\maven\bin\mvn.cmd'
)
foreach ($c in $candidates) {
if (Test-Path $c) {
Write-Host "FOUND=$c"
& $c -v
exit 0
}
}
Write-Host 'NO_LOCAL_MAVEN'
# install under E:\wwwroot\tools
$tools = 'E:\wwwroot\tools'
New-Item -ItemType Directory -Force -Path $tools | Out-Null
$mvnHome = Join-Path $tools 'apache-maven-3.9.9'
$mvnCmd = Join-Path $mvnHome 'bin\mvn.cmd'
if (Test-Path $mvnCmd) { Write-Host "FOUND=$mvnCmd"; & $mvnCmd -v; exit 0 }
$zip = Join-Path $tools 'apache-maven-3.9.9-bin.zip'
$url2 = 'https://archive.apache.org/dist/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.zip'
Write-Host 'downloading maven on remote...'
Invoke-WebRequest -Uri $url2 -OutFile $zip -UseBasicParsing
Expand-Archive -Path $zip -DestinationPath $tools -Force
if (-not (Test-Path $mvnCmd)) { throw 'maven extract failed' }
Write-Host "FOUND=$mvnCmd"
& $mvnCmd -v