Files
sky-take-out/sky-server/src/main/resources/application.properties
2024-12-15 15:59:33 +08:00

38 lines
1.6 KiB
Properties

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}
spring.redis.host=${spring.redis.host}
spring.redis.port=${spring.redis.port}
#spring.redis.password=${spring.redis.password}
spring.redis.database=${spring.redis.database}
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
sky.jwt.user-secret-key=itheima
sky.jwt.user-ttl=7200000
sky.jwt.user-token-name=authentication
sky.alioss.endpoint=${sky.alioss.endpoint}
sky.alioss.bucket-name=${sky.alioss.bucket-name}
sky.alioss.access-key-id=${sky.alioss.access-key-id}
sky.alioss.access-key-secret=${sky.alioss.access-key-secret}
spring.servlet.multipart.max-file-size=${spring.servlet.multipart.max-file-size}
spring.servlet.multipart.max-request-size=${spring.servlet.multipart.max-request-size}
sky.wechat.appid=${sky.wechat.appid}
sky.wechat.secret=${sky.wechat.secret}