peter
2026-01-15 0ababc615d5b381f856ca84fb8dc715cdb2c4b5b
src/main/resources/application.yml
@@ -2,7 +2,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8090
  port: 8091
  port: 9420
  tomcat:
    # tomcat的URI编码
    uri-encoding: UTF-8
@@ -15,6 +15,8 @@
      min-spare: 100
# 日志配置
logging:
  file:
    encoding: UTF-8
  level:
    com.ruoyi: debug
    org.springframework: warn
@@ -122,10 +124,10 @@
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driverClassName: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/caicai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
    url: jdbc:mysql://127.0.0.1:3306/stock-in?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#    url: jdbc:mysql://127.0.0.1:3306/cgstock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
    username: root
    password: 123456
    username: stock-in
    password: 373PwhKnpYn25mYe
    druid:
      # 初始连接数
      initialSize: 5