| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- server:
- port: 8081
- # 微信配置
- wx:
- appid: wxcf9eec0da6a6b696
- secret: 2808024de706bfb74d0fe1a111dfa00d
- # 文件存储配置
- file:
- storage:
- path: ./uploads # 文件存储路径(相对或绝对路径)
- url-prefix: /uploads # 文件访问URL前缀
- spring:
- application:
- name: gupiao
-
- datasource:
- url: jdbc:mysql://localhost:3306/ry_vue_5.x?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
- username: root
- password: 121380
- driver-class-name: com.mysql.cj.jdbc.Driver
-
- servlet:
- multipart:
- max-file-size: 10MB
- max-request-size: 10MB
- # MyBatis-Plus配置
- mybatis-plus:
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- # 日志配置
- logging:
- level:
- root: info
- com.yingpai.gupiao: debug
- com.baomidou.mybatisplus: debug
- org.springframework.jdbc.datasource.DataSourceTransactionManager: debug
- org.springframework.jdbc.core.JdbcTemplate: debug
- # JWT配置
- jwt:
- secret: gupiao-secret-key-2025-at-least-32-characters-long
- expiration: 604800000 # 7天(毫秒)
- refreshTime: 86400000 # 剩余1天时续期
|