This commit is contained in:
CloseIn
2026-05-07 15:54:19 +08:00
commit ac5a30844e
18 changed files with 461 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
$jarPath = "target\gmp-mock-service.jar"
if (-not (Test-Path $jarPath)) {
Write-Host "JAR 文件不存在,请先执行 build.ps1 进行构建" -ForegroundColor Red
exit 1
}
$env:JAVA_OPTS = $env:JAVA_OPTS ?? "-Xms256m -Xmx512m"
Write-Host "===== 启动 gmp-mock-service =====" -ForegroundColor Cyan
Write-Host "端口: 8080" -ForegroundColor Cyan
Write-Host "接口: POST http://localhost:8080/api/docx/export" -ForegroundColor Cyan
java $env:JAVA_OPTS -jar $jarPath