feat(config): 添加阿里云OSS配置和Druid数据源配置

- 在application.yml中添加阿里云OSS相关配置
- 添加阿里云OSS SDK依赖
- 创建Druid数据源配置类,支持主从数据源
- 更新数据库连接URL指向新的mtpay数据库
- 添加全局异常处理器和设备、电商信息DTO
- 添加日期工具类用于时间格式化
- 添加spring-boot-starter-webmvc依赖
- 设置默认激活dev环境配置
- 配置服务器端口为8080
This commit is contained in:
2025-12-19 16:40:21 +08:00
parent d716c00c84
commit 3eaa9a44bd
10 changed files with 227 additions and 1 deletions

View File

@@ -34,6 +34,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-restclient</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webmvc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>