2025-07-18 17:58:07 +08:00
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2025-07-18 18:12:21 +08:00
|
|
|
url: jdbc:mysql://101.200.154.78:3306/yunda_qa?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
|
2025-07-18 17:58:07 +08:00
|
|
|
username: root
|
2025-07-18 18:12:21 +08:00
|
|
|
password: mysql_Jt3yzh
|
|
|
|
|
|
|
|
|
|
# Mail configuration
|
|
|
|
|
mail:
|
|
|
|
|
host: smtp.gmail.com
|
|
|
|
|
port: 587
|
|
|
|
|
username: your-email@gmail.com
|
|
|
|
|
password: your-app-password
|
|
|
|
|
properties:
|
|
|
|
|
mail:
|
|
|
|
|
smtp:
|
|
|
|
|
auth: true
|
|
|
|
|
starttls:
|
|
|
|
|
enable: true
|
2025-07-18 17:58:07 +08:00
|
|
|
|
|
|
|
|
# MyBatis-Flex configuration
|
|
|
|
|
mybatis-flex:
|
|
|
|
|
# Enable SQL logging
|
|
|
|
|
configuration:
|
|
|
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
# Mapper XML location (optional)
|
|
|
|
|
mapper-locations: classpath*:mapper/*.xml
|
|
|
|
|
|
2025-07-18 18:12:21 +08:00
|
|
|
# JWT configuration
|
|
|
|
|
jwt:
|
|
|
|
|
secret: mySecretKeyForJWTTokenGenerationAndValidation
|
|
|
|
|
expiration: 86400000 # 24 hours in milliseconds
|
|
|
|
|
|
|
|
|
|
# App configuration
|
|
|
|
|
app:
|
|
|
|
|
reset-password-url: http://localhost:3000/reset-password
|
|
|
|
|
|
2025-07-18 17:58:07 +08:00
|
|
|
# Server configuration
|
|
|
|
|
server:
|
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
|
|
# Logging configuration
|
|
|
|
|
logging:
|
|
|
|
|
level:
|
|
|
|
|
com.yundage.chat: debug
|
|
|
|
|
com.mybatisflex: debug
|