模板初始化、引入mp、lombok等
This commit is contained in:
13
src/main/resources/application-template.yaml
Normal file
13
src/main/resources/application-template.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copy this file to application-dev.yaml, application-test.yaml, or application-prod.yaml,
|
||||
# then change spring.profiles.active in application.yaml to select the environment.
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: org.postgresql.Driver
|
||||
url: jdbc:postgresql://<host>:<port>/<database>
|
||||
username: <username>
|
||||
password: <password>
|
||||
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath*:/mapper/**/*.xml
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
@@ -1,3 +1,6 @@
|
||||
spring:
|
||||
application:
|
||||
name: common_agent
|
||||
profiles:
|
||||
active: dev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user