refactor(config): 重构配置管理并优化翻译功能

- 移除 @Component 注解,改用 @EnableConfigurationProperties 在启动类中启用配置
- 将PingPong支付配置从主配置文件移至开发环境配置文件
- 添加PayPal支付配置和百度翻译配置到开发环境
- 将商品和SKU名称翻译逻辑从查询时移至创建时,提高性能
- 移除运行时翻译方法,改为数据库中存储已翻译内容
- 标记PaymentController为过时,系统已切换到PayPal支付
- 优化pom.xml配置,添加classifier属性
This commit is contained in:
2025-12-24 17:39:36 +08:00
parent 425c46217e
commit 0f2f5c8630
10 changed files with 133 additions and 172 deletions

View File

@@ -145,6 +145,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<classifier>boot</classifier>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>