update 项目启动

This commit is contained in:
小李 2026-01-04 10:15:53 +08:00
parent 4a8a67f270
commit c0dec19197
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,30 @@
server:
port: 8082
spring:
datasource:
driver-class-name: com.oceanbase.jdbc.Driver
url: jdbc:oceanbase://localhost:2881/tacit?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: password
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:mapper/**/*.xml
type-aliases-package: com.tacit.admin.entity
# Swagger Configuration
springdoc:
api-docs:
enabled: true
path: /v3/api-docs
swagger-ui:
enabled: true
path: /swagger-ui.html
# Logging Configuration
logging:
level:
com.tacit.admin: debug

View File

@ -0,0 +1,5 @@
server:
port: 8081
spring:
profiles:
active: dev