Archived
refactor: streaming download, Git LFS templates, deploy workflow
- Replace base64 JSON response with StreamingResponseBody (zero-buffer) - Error responses return JSON via GlobalExceptionHandler (400/404) - Add git-lfs track for *.docx to keep repo lean - Add deploy/deploy.sh: one-click build + restart - Add deploy/clean-lfs.sh: periodic LFS cache cleanup - Add deploy/gmp-service.service: systemd service unit - Remove unused ApiResponse and DocxExportData DTOs - Fix build.sh/run.sh jar name (gmp-mock-service -> gmp-service) - Add TemplateNotFoundException for missing templates
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ mvn clean package -DskipTests
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "===== 构建成功 ====="
|
||||
JAR_PATH="target/gmp-mock-service.jar"
|
||||
JAR_PATH="target/gmp-service.jar"
|
||||
if [ -f "$JAR_PATH" ]; then
|
||||
SIZE=$(du -h "$JAR_PATH" | cut -f1)
|
||||
echo "JAR 文件: $JAR_PATH ($SIZE)"
|
||||
|
||||
Reference in New Issue
Block a user