chore(config): 更新服务器端口配置从8082到18082

- 修改application-dev.yml和application-prod.yml中的server.port配置
- 更新PayPal webhook URL中的端口号
- 修改DEPLOYMENT_README.md中的端口引用信息
- 更新ProductServiceImpl.java中的端口配置注入
- 创建PORT_CHANGE_GUIDE.md提供端口修改操作指南
- 更新部署文档中的防火墙端口和Nginx配置说明
This commit is contained in:
2025-12-26 13:43:26 +08:00
parent 2d9a9c3668
commit 56ae5a5892
6 changed files with 192 additions and 12 deletions

View File

@@ -63,7 +63,7 @@ public class ProductServiceImpl implements ProductService {
@Autowired
private BaiduTranslatorUtils baiduTranslatorUtils;
@Value("${server.port:8082}")
@Value("${server.port:18082}")
private String serverPort;
@Value("${server.servlet.context-path:}")

View File

@@ -63,7 +63,7 @@ spring:
# 服务器配置(所有环境通用)
server:
port: 8082
port: 18082
servlet:
context-path: /
# 文件上传配置
@@ -113,7 +113,7 @@ paypal:
enabled: true
# Webhook URL服务器公网地址
# 注意需要在PayPal控制台配置此URL
webhook-url: http://175.178.252.59:8082/api/paypal/webhook
webhook-url: http://175.178.252.59:18082/api/paypal/webhook
# Webhook ID从PayPal控制台获取用于验证Webhook签名
webhook-id: 0SX6117212808615P

View File

@@ -62,7 +62,7 @@ spring:
# 服务器配置
server:
port: ${server.port:8082}
port: ${server.port:18082}
servlet:
context-path: /
multipart: