feat: 更新AI提示并增强后端功能

更新AI提示字符串包含海南地区
添加CrawlInfoAdd实体到Bids模块
优化爬虫信息统计查询
增加请求体大小限制和启用CORS
修正前端部署路径
This commit is contained in:
dmy
2026-01-13 19:46:41 +08:00
parent 894976e680
commit 6825885005
5 changed files with 23 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ $remotePort = "1122"
$remoteUser = "cubie"
$keyPath = "d:\163"
$serverDest = "/home/cubie/down/document/bidding/publish/server"
$frontendDest = "/home/cubie/down/document/bidding/publish/"
$frontendDest = "/home/cubie/down/document/bidding/publish/frontend"
$srcDest = "/home/cubie/down/document/bidding/"
# Check if key file exists
@@ -50,7 +50,7 @@ Write-Host "dist directory uploaded successfully" -ForegroundColor Green
# Upload entire frontend directory to publish directory
Write-Host "`nUploading frontend directory to ${frontendDest}..." -ForegroundColor Yellow
scp -i $keyPath -P $remotePort -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r frontend "${remoteUser}@${remoteHost}:${frontendDest}"
scp -i $keyPath -P $remotePort -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r frontend/dist "${remoteUser}@${remoteHost}:${frontendDest}"
if ($LASTEXITCODE -ne 0) {
Write-Error "Failed to upload frontend directory"