- 新增 CategoryVO、CollectionVO、CommentVO 等多个视图对象 - 添加 RedisConfig 配置类 - 更新 RedisServiceImpl,移除不必要的 Qualifier 注解 - 修改 NoteMapper.xml,更新命名空间和结果映射
48 lines
1.4 KiB
Properties
48 lines
1.4 KiB
Properties
spring.application.name=copyKamanotes
|
|
|
|
spring.datasource.url=jdbc:mysql://localhost:3306/kamanote_tech
|
|
spring.datasource.username=root
|
|
spring.datasource.password=0andrx
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
|
|
server.port= 19090
|
|
|
|
# Redis
|
|
spring.data.redis.host=localhost
|
|
spring.data.redis.port=6379
|
|
spring.data.redis.database=0
|
|
spring.data.redis.timeout=3000
|
|
|
|
#Mybatis
|
|
mybatis.type-aliases-package=com.kamanote.tech.entity
|
|
mybatis.mapper-locations=classpath:mapper/*.xml
|
|
mybatis.configuration.map-underscore-to-camel-case=true
|
|
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
|
mybatis.configuration.cache-enabled=true
|
|
mybatis.configuration.lazy-loading-enabled=true
|
|
|
|
#jwt ??
|
|
jwt.secret=kamanote
|
|
jwt.expiration=2592000
|
|
|
|
# ????
|
|
spring.mail.host=smtp.qq.com
|
|
spring.mail.username=2712495353@qq.com
|
|
spring.mail.password=qxqzjqvjzqzjqxqz
|
|
spring.mail.properties.mail.smtp.auth=true
|
|
spring.mail.properties.mail.stmp.ssl.enable=true
|
|
spring.mail.properties.mail.smtp.starttls.enable=true
|
|
spring.mail.properties.mail.smtp.starttls.required=true
|
|
spring.mail.properties.mail.smtp.socketFactory.port=465
|
|
spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
|
|
spring.mail.protocol=smtps
|
|
spring.mail.default-encoding=utf-8
|
|
|
|
mail.verify-code.expire-minutes=15
|
|
mail.verify-code.resend-interval=60
|
|
mail.verify-code.template-path="templates/mail/verify-code.html"
|
|
|
|
|
|
upload.path=C:/uploads
|
|
upload.url-prefix=C:/uploads
|