初始化询价智能体新仓:同步本地工程并排除密钥与 .env。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-13 14:30:44 +08:00
co-authored by Cursor
commit 2a14def882
2621 changed files with 393165 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
Get-Content 'E:\wwwroot\.env' | ForEach-Object {
$line = $_.Trim(); if (-not $line -or $line.StartsWith('#')) { return }
$i = $line.IndexOf('='); if ($i -lt 1) { return }
Set-Item -Path ("Env:" + $line.Substring(0,$i).Trim()) -Value $line.Substring($i+1).Trim().Trim('"')
}
$mysql = 'C:\yutongda\tools\mysql-8.0.39-winx64\bin\mysql.exe'
& $mysql -h 127.0.0.1 -P 3306 -u $env:MYSQL_USER "--password=$env:MYSQL_PASSWORD" $env:MYSQL_DB -e "DESCRIBE sys_permission; SHOW TABLES LIKE 'inq_%'; SELECT COUNT(*) c FROM inq_ticket;"