【fix】默认客户端ID为设备唯一序列号

This commit is contained in:
macbookpro
2025-08-09 15:24:36 +08:00
parent abaea6c2ca
commit 43193138cd
6 changed files with 27 additions and 33 deletions

View File

@@ -5,19 +5,18 @@ spring:
# inet-host: 124.222.48.62
# inet-port: 30676
# inet-host: 124.222.152.160
inet-port: 30560
# inet-port: 30560
# inet-host: 192.168.15.121
# inet-port: 7001
# inet-host: 127.0.0.1
# inet-port: 7001
# inet-host: 124.222.152.160
inet-host: 1.116.249.110
# inet-port: 31560
inet-path: wu-lazy-cloud-heartbeat-server
client-id: socks-local-proxy # 客户端ID
app-key: a4bf4415-25aa-4007-914b-31ec77d1292f
app-secret: 88e6d827-12e7-4a5d-93e0-92c04c2414bc
protocol-type: tcp
# inet-host: 1.116.249.110
# inet-port: 30560
# inet-path: wu-lazy-cloud-heartbeat-server
# client-id: socks-local-proxy # 客户端ID
# app-key: a4bf4415-25aa-4007-914b-31ec77d1292f
# app-secret: 88e6d827-12e7-4a5d-93e0-92c04c2414bc
# protocol-type: tcp
# inet-host: 124.222.48.62 # 服务端地址
# inet-port: 30676 #服务端端口
@@ -25,13 +24,7 @@ spring:
# client-id: shuhan # 客户端ID
# client-id: temp_id # 客户端ID
---
spring:
data:
redis:
host: 192.168.17.221
port: 30553
password: wujiawei
database: 2
---
spring:

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:./wlcn:wlcn_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,12 +16,12 @@ 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
---
#logging: