无关风月
2024-12-25 7713280e8a01f1f6d488883bb47400a0785ca307
manage/target/classes/application.yml
@@ -1,9 +1,9 @@
server:
  port: 9090
  port: 9092
  tomcat:
    max-swallow-size: 500MB
  servlet:
    context-path: /api
#  servlet:
#    context-path: /api
spring:
  thymeleaf:
    cache: false
@@ -13,7 +13,7 @@
      max-request-size: 500MB
      resolve-lazily: true #设置为懒加载,不然依然会捕获不到异常
  profiles:
    active: prod
    active: dev
  main:
    allow-bean-definition-overriding: true
  #sagger文档属性配置
@@ -90,8 +90,8 @@
  # 数据源
  datasource:
    username: root #测试环境
    password: 123456
    url: jdbc:mysql://127.0.0.1:3306/jilongda?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
    password: root
    url: jdbc:mysql://192.168.110.64:3306/eyes?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
    type: com.zaxxer.hikari.HikariDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    hikari:
@@ -141,7 +141,7 @@
      on-profile: prod
  # 数据源
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/jilongda?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://192.168.110.64:3306/eyes?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
    username: root
    password: Xiwang2024!
    type: com.zaxxer.hikari.HikariDataSource