You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
spring:
|
|
|
|
|
|
datasource:
|
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
url: jdbc:mysql://localhost:3306/student_management?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
|
|
|
|
|
|
username: root
|
|
|
|
|
|
password: 123456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# MyBatis-Plus ??
|
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
|
mapper-locations: classpath:mapper/*.xml # Mapper.xml ????
|
|
|
|
|
|
type-aliases-package: com.example.student.entity # ??????
|
|
|
|
|
|
configuration:
|
|
|
|
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # ??SQL?????????
|
|
|
|
|
|
|
|
|
|
|
|
sa-token:
|
|
|
|
|
|
token-name: Authorization # token名称(与前端对应)
|
|
|
|
|
|
timeout: 7200 # token有效期(秒)
|
|
|
|
|
|
active-timeout: -1 # 活跃有效期(-1代表不限制)
|
|
|
|
|
|
is-concurrent: true # 是否允许并发登录
|
|
|
|
|
|
is-share: false # 在多人登录时是否共享token
|
|
|
|
|
|
token-style: uuid # token生成风格
|