落地报价模板主账与后台:合同映射、灌种 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
+35
View File
@@ -0,0 +1,35 @@
$ErrorActionPreference = "Continue"
$bodyPath = Join-Path $env:TEMP "login-body.json"
Set-Content -Path $bodyPath -Value '{"username":"admin","password":"123456","captcha":"","checkKey":""}' -Encoding ASCII
$login = Invoke-RestMethod -Uri "http://127.0.0.1:8180/jeecgboot/sys/login" -Method POST -InFile $bodyPath -ContentType "application/json;charset=UTF-8"
$token = $login.result.token
$h = @{ "X-Access-Token" = $token }
$list = Invoke-RestMethod -Uri "http://127.0.0.1:8180/jeecgboot/inquiry/quoteTemplate/list?pageNo=1&pageSize=20" -Headers $h
$recs = @($list.result.records)
Write-Host ("count=" + $recs.Count)
# dump raw preview body for first with versionId
$rec = $recs | Where-Object { $_.versionId } | Select-Object -First 1
$vid = $rec.versionId
Write-Host ("pick versionId=" + $vid)
$r = Invoke-WebRequest -Uri ("http://127.0.0.1:8180/jeecgboot/inquiry/quoteTemplate/previewSample?versionId=" + $vid) -Headers $h -UseBasicParsing -TimeoutSec 60
Write-Host ("ctype=" + $r.Headers["Content-Type"])
Write-Host ("body=" + $r.Content)
# list upload dirs
$roots = @(
"E:\wwwroot\data\upFiles",
"E:\wwwroot\inquiry-new\upFiles",
"E:\wwwroot\upFiles",
"C:\Users\ytd_extdev_0903\incoming"
)
foreach ($root in $roots) {
if (Test-Path $root) {
Write-Host ("root=" + $root)
Get-ChildItem $root -Recurse -Filter "*.xlsx" -ErrorAction SilentlyContinue | Select-Object -First 15 | ForEach-Object {
Write-Host (" xlsx=" + $_.FullName + " size=" + $_.Length)
}
} else { Write-Host ("missing_root=" + $root) }
}
# yml upload path
Select-String -Path "E:\wwwroot\inquiry-new\config\application-inquiry.yml" -Pattern "upload|path:" | Select-Object -First 20 | ForEach-Object { Write-Host ("yml:" + $_.Line.Trim()) }
Write-Host "PROBE2_DONE"