更改jdk,boot版本,修改配置
This commit is contained in:
parent
cf5b5e8919
commit
0e23653da5
4
pom.xml
4
pom.xml
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>2.3.5.RELEASE</version>
|
<version>2.7.7</version>
|
||||||
<relativePath/> <!-- lookup parent from repository -->
|
<relativePath/> <!-- lookup parent from repository -->
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>club.joylink</groupId>
|
<groupId>club.joylink</groupId>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
<description> Rail transit simulation system</description>
|
<description> Rail transit simulation system</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>11</java.version>
|
<java.version>17</java.version>
|
||||||
<pagehelper.version>4.1.1</pagehelper.version>
|
<pagehelper.version>4.1.1</pagehelper.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -10,44 +10,48 @@ udp:
|
|||||||
yjddzh:
|
yjddzh:
|
||||||
receiveTimeOver: 60
|
receiveTimeOver: 60
|
||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
default: dev
|
||||||
application:
|
main:
|
||||||
name: joylink-rtss
|
allow-bean-definition-overriding: true
|
||||||
jackson:
|
allow-circular-references: true
|
||||||
date-format: yyyy-MM-dd HH:mm:ss
|
application:
|
||||||
time-zone: GMT+8
|
name: joylink-rtss
|
||||||
default-property-inclusion: non_null
|
jackson:
|
||||||
servlet:
|
date-format: yyyy-MM-dd HH:mm:ss
|
||||||
multipart:
|
time-zone: GMT+8
|
||||||
max-file-size: 10MB
|
default-property-inclusion: non_null
|
||||||
|
servlet:
|
||||||
|
multipart:
|
||||||
|
max-file-size: 10MB
|
||||||
|
datasource:
|
||||||
|
driverClassName: com.mysql.cj.jdbc.Driver
|
||||||
|
hikari:
|
||||||
|
minimum-idle: 5 # 连接池维护的最小空闲连接数
|
||||||
|
maximum-pool-size: 10 #配置最大连接池大小
|
||||||
|
auto-commit: true #配置从池返回的连接的默认自动提交行为
|
||||||
|
idle-timeout: 30000 # 允许连接在连接池中空闲的最长时间,单位ms
|
||||||
|
pool-name: HikariPool
|
||||||
|
max-lifetime: 1800000 # 池中连接关闭后的最长生命周期,单位ms
|
||||||
|
connection-timeout: 30000 # 等待连接的超时时间,单位ms
|
||||||
|
connection-test-query: select 1
|
||||||
# JavaMailSender 邮件发送的配置
|
# JavaMailSender 邮件发送的配置
|
||||||
mail:
|
mail:
|
||||||
host: smtp.exmail.qq.com
|
host: smtp.exmail.qq.com
|
||||||
port: 465
|
port: 465
|
||||||
username: serviceemai@joylink.club
|
username: serviceemai@joylink.club
|
||||||
password: Jiulian0503
|
password: Jiulian0503
|
||||||
properties:
|
properties:
|
||||||
mail:
|
mail:
|
||||||
smtp:
|
smtp:
|
||||||
auth: true
|
auth: true
|
||||||
starttls:
|
starttls:
|
||||||
enable: true
|
enable: true
|
||||||
required: true
|
required: true
|
||||||
socketFactory:
|
socketFactory:
|
||||||
port: 465
|
port: 465
|
||||||
class: javax.net.ssl.SSLSocketFactory
|
class: javax.net.ssl.SSLSocketFactory
|
||||||
fallback: false
|
fallback: false
|
||||||
datasource:
|
|
||||||
driverClassName: com.mysql.cj.jdbc.Driver
|
|
||||||
hikari:
|
|
||||||
minimum-idle: 5 # 连接池维护的最小空闲连接数
|
|
||||||
maximum-pool-size: 10 #配置最大连接池大小
|
|
||||||
auto-commit: true #配置从池返回的连接的默认自动提交行为
|
|
||||||
idle-timeout: 30000 # 允许连接在连接池中空闲的最长时间,单位ms
|
|
||||||
pool-name: HikariPool
|
|
||||||
max-lifetime: 1800000 # 池中连接关闭后的最长生命周期,单位ms
|
|
||||||
connection-timeout: 30000 # 等待连接的超时时间,单位ms
|
|
||||||
mybatis:
|
mybatis:
|
||||||
mapper-locations: classpath:mybatis/mapper/**/*.xml
|
mapper-locations: classpath:mybatis/mapper/**/*.xml
|
||||||
# type-aliases-package: club.joylink.rtss.entity
|
# type-aliases-package: club.joylink.rtss.entity
|
||||||
@ -88,7 +92,9 @@ tencent-cloud:
|
|||||||
# 环境连接配置 start
|
# 环境连接配置 start
|
||||||
---
|
---
|
||||||
spring:
|
spring:
|
||||||
profiles: dev
|
config:
|
||||||
|
activate:
|
||||||
|
on-profile: dev
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://192.168.3.233:3306/joylink?useSSL=false&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://192.168.3.233:3306/joylink?useSSL=false&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||||
username: root
|
username: root
|
||||||
@ -116,11 +122,13 @@ common:
|
|||||||
license-secret-key: joylink
|
license-secret-key: joylink
|
||||||
---
|
---
|
||||||
spring:
|
spring:
|
||||||
profiles: test
|
config:
|
||||||
datasource:
|
activate:
|
||||||
url: jdbc:mysql://172.16.0.128:3306/joylink?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
on-profile: test
|
||||||
username: root
|
datasource:
|
||||||
password: Joylink@0503
|
url: jdbc:mysql://172.16.0.128:3306/joylink?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
|
username: root
|
||||||
|
password: Joylink@0503
|
||||||
|
|
||||||
wechat:
|
wechat:
|
||||||
wx-api-url: https://open.weixin.qq.com/connect/oauth2/authorize?appid=${wechat.app-id}&redirect_uri=https://test.joylink.club/wx/%s&response_type=code&scope=snsapi_base&state=%s#wechat_redirect
|
wx-api-url: https://open.weixin.qq.com/connect/oauth2/authorize?appid=${wechat.app-id}&redirect_uri=https://test.joylink.club/wx/%s&response_type=code&scope=snsapi_base&state=%s#wechat_redirect
|
||||||
@ -147,7 +155,9 @@ common:
|
|||||||
|
|
||||||
---
|
---
|
||||||
spring:
|
spring:
|
||||||
profiles: local-test
|
config:
|
||||||
|
activate:
|
||||||
|
on-profile: local-test
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://192.168.53.22:3306/joylink?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://192.168.53.22:3306/joylink?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
username: root
|
||||||
@ -178,11 +188,13 @@ common:
|
|||||||
|
|
||||||
---
|
---
|
||||||
spring:
|
spring:
|
||||||
profiles: prd
|
config:
|
||||||
datasource:
|
activate:
|
||||||
url: jdbc:mysql://192.168.0.169:3306/joylink?useSSL=false&serverTimezone=Asia/Shanghai
|
on-profile: prd
|
||||||
username: root
|
datasource:
|
||||||
password: joylink@0503
|
url: jdbc:mysql://192.168.0.169:3306/joylink?useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
|
username: root
|
||||||
|
password: joylink@0503
|
||||||
wechat:
|
wechat:
|
||||||
app-id: wx41cb66db5faf330f
|
app-id: wx41cb66db5faf330f
|
||||||
app-secret: eb7199c1e73417be6a4d38b4a848effb
|
app-secret: eb7199c1e73417be6a4d38b4a848effb
|
||||||
@ -212,7 +224,9 @@ common:
|
|||||||
|
|
||||||
---
|
---
|
||||||
spring:
|
spring:
|
||||||
profiles: local
|
config:
|
||||||
|
activate:
|
||||||
|
on-profile: local
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://192.168.1.254:3306/joylink?useSSL=false&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://192.168.1.254:3306/joylink?useSSL=false&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||||
username: root
|
username: root
|
||||||
|
Loading…
Reference in New Issue
Block a user