sen
2025-12-16 3d1abf712307e48c48f84a014ad9499218735cd3
admin/src/main/resources/application.yml
@@ -82,7 +82,7 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://${custom.datasource.master.ip}:${custom.datasource.master.port}/${custom.datasource.master.database}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://${custom.datasource.master.ip}:${custom.datasource.master.port}/${custom.datasource.master.database}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
        username: ${custom.datasource.master.username}
        password: ${custom.datasource.master.password}
      # 从库数据源
@@ -172,7 +172,7 @@
  # 令牌密钥
  secret: abcdefghijklmnopqrstuvwxyz
  # 令牌有效期(默认30分钟)
  expireTime: 30
  expireTime: 43200
# MyBatis-plus配置
mybatis-plus:
@@ -182,6 +182,7 @@
  mapperLocations: classpath*:mapper/**/*Mapper.xml
  # 加载全局的配置文件
  configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件
pagehelper:
  helperDialect: mysql