管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-09-26 83f735a2f38d01eabc13e7dd257960ceb40cbac9
src/main/resources/application.yml
@@ -3,17 +3,20 @@
    uri-encoding: UTF-8
    max-threads: 1000
    min-spare-threads: 5
  port: 9002
  port: 12316
  context-path: /land
spring:
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
  datasource:
    username : postgres
    password: postgres
    url : jdbc:postgresql://127.0.0.1:5432/langfang
    url : jdbc:postgresql://192.168.20.39:5433/langfang
    driver-class-name: org.postgresql.Driver
    type: com.alibaba.druid.pool.DruidDataSource # 自定义数据源
    #url : jdbc:postgresql://127.0.0.1:5433/postgres
    #Spring Boot 默认是不注入这些属性值的,需要自己绑定
    #druid 数据源专有配置
    initialSize: 5
@@ -44,4 +47,4 @@
mybatis:
  type-aliases-package: com.terra.land.mapper
  mapper-locations: classpath:mapper/*.xml
  mapper-locations: classpath:mapper/**/*.xml