qirong
2023-04-07 a499e5a737991461554805af6b72fba65a680776
ycl-platform/src/main/resources/application-dev.yml
@@ -1,5 +1,5 @@
server:
  port: 8082
  port: 8099
  tomcat:
    uri-encoding: UTF-8
  servlet:
@@ -24,9 +24,9 @@
spring:
  redis:
    database: 0
    host: 42.193.1.25
    host: 192.168.3.206
    port: 6379
    password: ycl2018
    password: 321$YcYl@1970!
    jedis:
      pool:
        max-active: 8
@@ -35,7 +35,7 @@
        timeout: 0
  datasource:
    url: jdbc:mysql://42.193.1.25:3306/news_website?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false
    url: jdbc:mysql://192.168.3.206:3306/news_website?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true
    username: root
    password: 321$YcYl@1970!
    type: com.alibaba.druid.pool.DruidDataSource
@@ -53,6 +53,12 @@
    testOnReturn: false
    poolPreparedStatements: true
    maxOpenPreparedStatements: 20
  #配置pageHelper
  pageHelper:
    reasonable: "true"
    supportMethodsArguments: "true"
    returnPageInfo: check
    params: count=countSql
#e-mail:
#  sendHost: smtp.qq.com
#  username: 1723292425@qq.com