【fix】

This commit is contained in:
wujiawei
2024-07-12 17:14:51 +08:00
parent 407382c26d
commit d0b9a76680
65 changed files with 1466 additions and 86 deletions

View File

@ -5,10 +5,11 @@ spring:
inet-host: 127.0.0.1
inet-port: 7001
inet-path: wu-lazy-cloud-heartbeat-server
client-id: wujiawei # 客户端ID
# inet-host: 124.222.48.62 # 服务端地址
# inet-port: 30676 #服务端端口
# inet-path: wu-lazy-cloud-heartbeat-server
client-id: wujiawei # 客户端ID
# # inet-path: wu-lazy-cloud-heartbeat-server
# client-id: shuhan # 客户端ID
# client-id: temp_id # 客户端ID
data:
redis:

View File

@ -23,6 +23,10 @@
<groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-heartbeat-server</artifactId>
</dependency>
<dependency>
<groupId>top.wu2020</groupId>
<artifactId>wu-smart-acw-client</artifactId>
</dependency>
</dependencies>

View File

@ -1,11 +1,11 @@
---
## h2 配置
spring:
datasource:
url: jdbc:h2:./wu_lazy_cloud_netty_server:wu_lazy_cloud_netty_server;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE;DATABASE_TO_UPPER=true;MODE=MySQL;CASE_INSENSITIVE_IDENTIFIERS=TRUE
username: sa
driver-class-name: org.h2.Driver
#spring:
# datasource:
# url: jdbc:h2:./wu_lazy_cloud_netty_server:wu_lazy_cloud_netty_server;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE;DATABASE_TO_UPPER=true;MODE=MySQL;CASE_INSENSITIVE_IDENTIFIERS=TRUE
# username: sa
# driver-class-name: org.h2.Driver
---
# h2 web
spring:
@ -16,9 +16,9 @@ spring:
settings:
web-allow-others: true
---
#spring:
# datasource:
# url: jdbc:mysql://127.0.0.1:3306/wu_lazy_cloud_netty_server?allowMultiQueries=true&useUnicode=true&autoReconnect=true&useAffectedRows=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&databaseTerm=SCHEMA
# username: root
# password: wujiawei
# driver-class-name: com.mysql.cj.jdbc.Driver
spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/wu_lazy_cloud_netty_server?allowMultiQueries=true&useUnicode=true&autoReconnect=true&useAffectedRows=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&databaseTerm=SCHEMA
username: root
password: wujiawei
driver-class-name: com.mysql.cj.jdbc.Driver