feat: 项目结构重构

This commit is contained in:
2025-12-04 19:57:13 +08:00
parent 39d0086dfe
commit d25a1467e0
118 changed files with 1429 additions and 2580 deletions

View File

@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class DolphinApplication {
public static void main(String[] args) {
SpringApplication.run(DolphinApplication.class, args);
static void main() {
SpringApplication.run(DolphinApplication.class);
}
}

View File

@ -1,22 +1,28 @@
server:
port: 8080
servlet:
context-path: /
port: 8080
servlet:
context-path: /
spring:
application:
name: dolphin-compose
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://110.42.60.129:10002/postgres
username: postgres
password: postgres
data:
redis:
host: 110.42.60.129
port: 10001
database: 0
password: 123456
jackson:
date-format: yyyy-MM-dd HH:mm:ss
application:
name: dolphin-compose
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://110.42.60.129:10002/postgres
username: postgres
password: postgres
data:
redis:
host: 110.42.60.129
port: 10001
database: 0
password: 123456
jackson:
time-zone: Asia/Shanghai
date-format: yyyy-MM-dd HH:mm:ss
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
global-config:
db-config:
id-type: assign_uuid