start-backend-simple.ps1 329 B

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