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
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
JAR_PATH="target/gmp-mock-service.jar"
if [ ! -f "$JAR_PATH" ]; then
echo "JAR 文件不存在,请先执行 build.sh 进行构建"
exit 1
fi
JAVA_OPTS="${JAVA_OPTS:--Xms256m -Xmx512m}"
echo "===== 启动 gmp-mock-service ====="
echo "端口: 8080"
echo "接口: POST http://localhost:8080/api/docx/export"
java $JAVA_OPTS -jar "$JAR_PATH"