feat: 项目结构重构
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user