459242451@qq.com 3 жил өмнө
parent
commit
3543041c7c

+ 18 - 0
README.md

@@ -1,13 +1,16 @@
 ## 船舶尾气监管平台
 
 ### 四个数据库
+
 二氧化硫、黑烟、光谱、基础库
+
 ```
 光谱分析:地址:47.92.161.189  端口:3306 账号 js_test 密码 js123456
 本地测试库:地址:200.200.19.126:3306 root/root 
 ```
 
 > ElasticSearch
+
 ```
 内网测试环境
 http://200.200.19.122:5601/app/dev_tools#/console
@@ -19,6 +22,7 @@ http://212.129.138.23:9200
 ```
 
 > canal
+
 ```
 启动流程:
 1.cd /Users/huangcheng/workspace/canal/canal.admin-1.1.5/bin 
@@ -30,6 +34,7 @@ http://212.129.138.23:9200
 canal admin管理后台 http://127.0.0.1:8089   admin/123456
 
 ```
+
 ```
 Entry=====> RowChange=====> Column
 
@@ -61,4 +66,17 @@ Column
     updated     [是否发生过变更]
     isNull      [值是否为null]
 
+```
+
+> 生产环境参数
+
+```
+1.黑烟数据库:
+198.17.23.20:3306/smoke_api   root_shipface   @P5zQQMbax8xx
+设备页面:http://198.17.188.6:8091/              http://119.45.121.229:8090/?opt=1
+2.嗅探数据库
+198.17.23.18:3306/ais_database  js_test     Js@123456
+设备页面:http://198.17.188.2:81/index.html?opt=1    http://47.92.161.189:81/index.html?opt=1
+3.光谱数据库
+
 ```

+ 6 - 6
ruoyi-admin/src/main/resources/application-prod.yml

@@ -13,9 +13,9 @@ spring:
       slaveais:
         # 从数据源开关/默认关闭
         enabled: true
-        url: jdbc:mysql://198.17.188.51:3306/ais_database?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-        username: root
-        password: cbwq!xintong
+        url: jdbc:mysql://198.17.23.18:3306/ais_database?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        username: js_test
+        password: Js@123456
       # 从库数据源(光谱)
       slaveso2:
         # 从数据源开关/默认关闭
@@ -27,9 +27,9 @@ spring:
       slaveblack:
         # 从数据源开关/默认关闭
         enabled: true
-        url: jdbc:mysql://198.17.188.51:3306/heiyan?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-        username: root
-        password: cbwq!xintong
+        url: jdbc:mysql://198.17.23.20:3306/smoke_api?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        username: root_shipface
+        password: '@P5zQQMbax8xx'
       # 初始连接数
       initialSize: 5
       # 最小连接池数量

+ 8 - 7
ruoyi-ui/src/views/home.vue

@@ -117,7 +117,7 @@
       <homeTable v-if="showTable==8"></homeTable>
       <iframe style="height:350rem;width:100%" v-show="showTable==9" marginwidth="0" marginheight="0" vspace="0"
               hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" frameborder="0" name="showHere"
-              src="http://119.45.121.229:8090/?opt=1"
+              src="http://198.17.188.6:8091/?opt=1"
       ></iframe>
       <iframe style="height:350rem;width:100%" v-show="showTable==10" marginwidth="0" marginheight="0" vspace="0"
               hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" frameborder="0" name="showHere"
@@ -125,7 +125,7 @@
       ></iframe>
       <iframe style="height:350rem;width:100%" v-show="showTable==11" marginwidth="0" marginheight="0" vspace="0"
               hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" frameborder="0" name="showHere"
-              src="http://47.92.161.189:81/index.html?opt=1"
+              src="http://198.17.188.2:81/index.html?opt=1"
       ></iframe>
     </div>
 
@@ -260,13 +260,14 @@ export default {
 
 .menu_title {
   color: #fff;
-    font-size: 6.4rem;
-    margin-top: 2rem;
-    padding-left: 5rem;
-    line-height: 12rem;
+  font-size: 6.4rem;
+  margin-top: 2rem;
+  padding-left: 5rem;
+  line-height: 12rem;
 }
+
 .menu_title:hover {
-    cursor: pointer;
+  cursor: pointer;
 }
 
 .active {