From 3bd9c82bf2b67833ad60fc9522da0b50b63f5d2a Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang@960204@163.com>
Date: 星期二, 02 十二月 2025 19:42:07 +0800
Subject: [PATCH] fix:完善逻辑
---
src/main/resources/application.yml | 28 +++++++++++++++++++++++++---
1 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 9d9e80c..c96b5a2 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,5 +1,5 @@
server:
- port: 9999
+ port: 8889
servlet:
session:
timeout: 120m
@@ -14,7 +14,7 @@
name: wgcloud-server
datasource:
driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://localhost:3306/wgcloud?characterEncoding=utf-8&characterSetResults=utf8&autoReconnect=true&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
+ url: jdbc:mysql://120.1.33.103:10001/wgcloud?characterEncoding=utf-8&characterSetResults=utf8&autoReconnect=true&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
username: root
password: rootroot
# hikari杩炴帴姹犵殑鍙傛暟 鐩稿叧璁剧疆
@@ -54,7 +54,7 @@
#鍙璐﹀彿鐨勫瘑鐮�
guestAccountPwd: 111111
#閫氫俊token锛宎gent绔拰姝や繚鎸佷竴鑷�
- wgToken: wgcloud
+ wgToken: tssw
#姣忛〉鏄剧ず澶氬皯鏉℃暟鎹紝寤鸿涓嶅皬浜�10
pageSize: 20
#鏄惁寮�鍚痺eb ssh瀹㈡埛绔紝yes寮�鍚紝no鍏抽棴
@@ -113,6 +113,8 @@
mailContentSuffix: '<p><p><p>WGCLOUD鏁笂'
#鏄惁鏄剧ず椤甸潰搴曢儴鐗堟潈銆佺綉鍧�淇℃伅锛寉es鏄剧ず锛宯o涓嶆樉绀猴紝姝ゅ姛鑳介渶鍗囩骇鍒颁笓涓氱増
copyRight: yes
+ year: 1
+ month: 1
#鍛婅閰嶇疆锛岀瓥鐣ヤ紭鍏堢骇鎸夌収鍓嶅悗椤哄簭鎵ц锛屾瘮濡傚憡璀︽�诲紑鍏冲叧闂椂锛岄偅涓嬮潰鎵�鏈夊憡璀﹀紑鍏抽兘浼氬け鏁�
mail:
@@ -191,4 +193,24 @@
#鏄惁灏嗗憡璀﹀唴瀹硅浆涓簎nicode锛寉es鏄紝no鍚︼紝鍦╳indows鎵ц鍛婅鑴氭湰鏃讹紝涓�鑸渶瑕佽浆鐮侊紝鍚﹀垯鎺ュ彈鍒颁細鏄贡鐮�
warnToUnicode: no
+donghuan:
+ ip: ip:port
+ loginUrl: /collect/api/login
+ deviceClassUrl: /collect/api/deviceClass/findAll
+ intelligentUrl: /collect/api/intelligent/findAll
+ findDevice: /collect/api/device/findDevice
+ findDeviceVar: /collect/api/device/findDeviceVar
+ findControlByDeviceId: /collect/api/realData/findControlByDeviceId
+ control: /collect/api/device/control
+ findValueByDeviceId: /collect/api/realData/findValueByDeviceId
+ findValueByIntelligentId: /collect/api/realData/findValueByIntelligentId
+ findValueByStationId: /collect/api/realData/findValueByStationId
+ meterDatas: /collect/api/realData/meterDatas
+ varDatas: /collect/api/realData/varDatas
+ alarm: /collect/api/alarm/findByPage
+
+osfService:
+ host: 127.0.0.1
+ port: 8081
+
--
Gitblit v1.9.1