- # 简单的后端启动脚本
- Write-Host "正在启动后端服务..." -ForegroundColor Green
- Write-Host "配置文件: local" -ForegroundColor Gray
- Write-Host ""
- Set-Location yudao-server
- # 使用 cmd 来执行 Maven 命令,避免 PowerShell 参数解析问题
- cmd /c "mvn spring-boot:run -Dspring-boot.run.profiles=local"
|