chore: change port from 6666 to 10086

This commit is contained in:
agentuser
2026-05-11 17:41:34 +08:00
parent b53f43fb67
commit a57fbbf9ec
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -56,4 +56,4 @@ echo "部署完成!"
echo " 服务: $SERVICE_NAME"
echo " JAR: $JAR_DST"
echo " 日志: journalctl -u $SERVICE_NAME -f"
echo " 端口: $(grep 'server.port' "$PROJECT_DIR/src/main/resources/application.yml" 2>/dev/null || echo '6666')"
echo " 端口: $(grep -A1 'server:' "$PROJECT_DIR/src/main/resources/application.yml" 2>/dev/null | grep 'port' | awk '{print $2}' || echo '10086')"
+4 -4
View File
@@ -5,9 +5,9 @@ info:
contact:
name: 吕冬
servers:
- url: http://193.112.146.124:6666
- url: http://193.112.146.124:10086
description: 生产服务器
- url: http://localhost:6666
- url: http://localhost:10086
description: 本地开发服务器
paths:
@@ -42,7 +42,7 @@ paths:
code: 0
msg: "success"
data:
url: "http://localhost:6666/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10"
url: "http://localhost:10086/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10"
fileName: "annualReport.docx"
"400":
description: 参数校验失败(exportId 为空 / businessData 为空)
@@ -177,7 +177,7 @@ components:
type: string
format: uri
description: 文件下载 URL(由 gmp.download-origin 配置 + 路径组成,未配置则只返回路径)
example: "http://localhost:6666/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10"
example: "http://localhost:10086/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10"
fileName:
type: string
description: 文件名
+2 -2
View File
@@ -1,9 +1,9 @@
server:
port: 6666
port: 10086
spring:
application:
name: gmp-mock-service
gmp:
download-origin: http://193.112.146.124:6666
download-origin: http://193.112.146.124:10086