spring: datasource: username: sandu password: Sandu.520 url: jdbc:mysql://112.74.63.130:3306/ximon_light?useUnicode=true&autoReconnect=true&useSSL=false&characterEncoding=utf8&serverTimezone=Asia/Shanghai type: com.alibaba.druid.pool.DruidDataSource druid: connection-init-sqls: set names utf8mb4 driver-class-name: com.mysql.cj.jdbc.Driver redis: host: 49.234.140.156 # Redis服务器地址 database: 0 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: chenjiantian1992 # Redis服务器连接密码(默认为空) timeout: 300ms # 连接超时时间(毫秒) server: port: 8080 sandu: jwt: header: Authorization # 令牌前缀 token-start-with: Bearer # 必须使用最少88位的Base64对该令牌进行编码 base64-secret: U1GZNSKOH43V19GNIVE8HUYM9H86K657V1D66EAVSL9Q023J4JNWE44BNHCS6V9E66BPKF0KXUI5R1ZOYK2OWZZYALPD07JHOYUROL930UGJQUJDNAEYNTMUS27BHKTJEF9011DGGQ4QT9BN6CM2P9SY2VV2MZKJPCOW9YIGN0VJ # 令牌过期时间 此处单位/毫秒 ,可在此网站生成 https://www.convertworld.com/zh-hans/time/milliseconds.html 1个月 token-validity-in-seconds: 2629800000 # 在线用户key online-key: online-token # 是否启动redis缓存用户信息 cache-online: false upload: upload-root-path: /usr/local/project/ximon-light-20017/file/ storage: local common: urlPrefix: http://112.74.63.130/file/ quartz: enable: true