初始代码

This commit is contained in:
slhaf
2024-09-09 16:30:48 +08:00
parent 1d5c92d8f4
commit 3d330db1ce
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
server.port=8080
spring.profiles.active=dev
spring.main.allow-circular-references=true
spring.datasource.druid.driver-class-name=${sky.datasource.driver-class-name}
spring.datasource.druid.url=jdbc:mysql://${sky.datasource.host}:${sky.datasource.port}/${sky.datasource.database}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
spring.datasource.druid.username=${sky.datasource.username}
spring.datasource.druid.password=${sky.datasource.password}
mybatis.mapper-locations=classpath:mapper/*.xml
mybatis.type-aliases-package=com.sky.entity
mybatis.configuration.map-underscore-to-camel-case=true
logging.level.com.sky.mapper=debug
logging.level.com.sky.service=info
logging.level.com.sky.controller=info
sky.jwt.admin-secret-key=itcast
sky.jwt.admin-ttl=7200000
sky.jwt.admin-token-name=token