server: port: 9908 servlet: context-path: /ai-platform spring: application: name: pdf-qa-server datasource: druid: url: jdbc:postgresql://192.168.10.137:54321/ai-demo-platform username: postgres password: 123456 driver-class-name: org.postgresql.Driver servlet: multipart: max-file-size: 10MB max-request-size: 100MB mybatis-plus: mapper-locations: classpath*:mapper/*.xml configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl jwt: secret: "DlHaPUePiN6MyvpMpsMq/t6swzMHqtrRFd2YnofKz4k=" # JWT密钥 使用官方推荐方式生成 Base64.getEncoder().encodeToString(Keys.secretKeyFor(SignatureAlgorithm.HS256).getEncoded()); expiration: 3600000 # 1小时:3600000 1天:86400000