From 2d2f5818966e5626a6f23d707d6de2111c1daebd Mon Sep 17 00:00:00 2001 From: zhangjf Date: Tue, 24 Feb 2026 18:46:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=88=A0=E9=99=A4=20service.proper?= =?UTF-8?q?ties=20=E4=B8=AD=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=20SERVER?= =?UTF-8?q?=5FPORT=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - SERVER_PORT 在 start.sh 中未使用,端口已在 application.yml 中配置 - 保留 SPRING_PROFILES_ACTIVE(启动脚本中有使用) --- worklog-api/src/main/resources/service.properties | 4 ---- 1 file changed, 4 deletions(-) diff --git a/worklog-api/src/main/resources/service.properties b/worklog-api/src/main/resources/service.properties index 3b62bcf..661191c 100644 --- a/worklog-api/src/main/resources/service.properties +++ b/worklog-api/src/main/resources/service.properties @@ -17,10 +17,6 @@ TENANT_ID= # 主启动类(瘦JAR模式必须配置) MAIN_CLASS=com.wjbl.worklog.WorklogApplication -# ==================== 服务端口配置 ==================== -# 服务端口(可覆盖 application.yml 中配置) -SERVER_PORT=8080 - # ==================== 环境标识 ==================== # 运行环境:dev-开发, test-测试, prod-生产 SPRING_PROFILES_ACTIVE=prod