Browse Source

问题修改

zhs 2 years ago
parent
commit
a31b879eaa

+ 2 - 2
src/main/java/com/tld/config/MyRedissonConfig.java

@@ -16,8 +16,8 @@ public class MyRedissonConfig {
     public RedissonClient redissonClient(){
         // 创建配置 指定redis地址及节点信息
         Config config = new Config();
-        config.useSingleServer().setAddress("redis://8.142.144.205:6379").setPassword("#09SilverB");
-//        config.useSingleServer().setAddress("redis://10.2.111.91:6379").setPassword("#09SilverB");
+//        config.useSingleServer().setAddress("redis://8.142.144.205:6379").setPassword("#09SilverB");
+        config.useSingleServer().setAddress("redis://10.2.111.91:6379").setPassword("#09SilverB");
         //redis集群使用
 //        config.useClusterServers().addNodeAddress("redis://8.142.144.205:6379");
         // 根据config创建出RedissonClient实例

+ 44 - 28
src/main/java/com/tld/service/impl/AskGoodsServiceImpl.java

@@ -338,14 +338,17 @@ public class AskGoodsServiceImpl implements AskGoodsService {
             JSONObject ReqOutStocks = new JSONObject();
             ReqOutStocks.put("ReqOutStocks",retunList);
             returnData.put("strJson", JSON.toJSONString(ReqOutStocks));
+            //回传地址
+            String url = "https://erp4.teld.cn:8443/cwbase/sg/V1/ERP/TELD/TELD_WMS/TELD_API_WMS_StockManage/CreateProductiveOutStock";
+//            String url = "http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock";
             HttpClientUtil httpClientUtil1 = new HttpClientUtil();
-            Map<String, Object> result = httpClientUtil1.doPost("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock", returnData);
+            Map<String, Object> result = httpClientUtil1.doPost(url, returnData);
             Error error = new Error();
             int type = 0;
             if(Integer.parseInt(result.get("msg").toString()) != 200){
                 //如果失败存入报错信息跟数据
                 error.setErrorInfo(result.get("data").toString());
-                error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock");
+                error.setUrl(url);
                 error.setDataVal(returnData.toJSONString()).setType("出库回传");
                 //修改流水传输状态
                 for(Map<String, Object> map : askGoodsMapper.plugOutRemoval(removalCode)){
@@ -358,7 +361,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                 if ( jsonObject1.get("State").toString().equals("0") ){
                     //如果失败存入报错信息跟数据
                     error.setErrorInfo(jsonObject1.get("Msg").toString());
-                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock");
+                    error.setUrl(url);
                     error.setDataVal(returnData.toJSONString()).setType("出库回传");
                     errorMapper.addError(error);
                     //修改流水传输状态
@@ -373,7 +376,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                                 if(jsonObject2.get("WMSCode").toString().equals(map.get("WMSCode")) && jsonObject2.get("WareHouse").toString().equals(map.get("WareHouse"))){
                                     //如果失败存入报错信息跟数据
                                     error.setErrorInfo(map.get("FailReason").toString());
-                                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock");
+                                    error.setUrl(url);
                                     error.setDataVal(jsonObject2.toString()).setType("出库回传");
                                     errorMapper.addError(error);
                                     List<JSONObject> list = (List<JSONObject>) jsonObject2.get("BillItems");
@@ -776,13 +779,15 @@ public class AskGoodsServiceImpl implements AskGoodsService {
             JSONObject ReqOutStocks = new JSONObject();
             ReqOutStocks.put("BILLs",retunList);
             returnData.put("strJson", JSON.toJSONString(ReqOutStocks));
+//            String url = "http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateBOLOutStock";
+            String url = "https://erp4.teld.cn:8443/cwbase/sg/V1/ERP/TELD/TELD_WMS/TELD_API_WMS_StockManage/CreateBOLOutStock";
             HttpClientUtil httpClientUtil1 = new HttpClientUtil();
-            Map<String, Object> result = httpClientUtil1.doPost("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateBOLOutStock", returnData);
+            Map<String, Object> result = httpClientUtil1.doPost(url, returnData);
             Error error = new Error();
             if(Integer.parseInt(result.get("msg").toString()) != 200){
                 //如果失败存入报错信息跟数据
                 error.setErrorInfo(result.get("data").toString());
-                error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateBOLOutStock");
+                error.setUrl(url);
                 error.setDataVal(returnData.toJSONString()).setType("销售出库");
                 errorMapper.addError(error);
                 queryListMapper.updateType(removalCode, 1, null);
@@ -792,7 +797,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                 if ( jsonObject1.get("State").toString().equals("0") ){
                     //如果失败存入报错信息跟数据
                     error.setErrorInfo(jsonObject1.get("Msg").toString());
-                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateBOLOutStock");
+                    error.setUrl(url);
                     error.setDataVal(returnData.toJSONString()).setType("销售出库");
                     errorMapper.addError(error);
                     queryListMapper.updateType(removalCode, 1, null);
@@ -804,7 +809,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                                 if(jsonObject2.get("WMSCode").toString().equals(map.get("WMSCode")) && jsonObject2.get("WareHouse").toString().equals(map.get("WareHouse"))){
                                     //如果失败存入报错信息跟数据
                                     error.setErrorInfo(map.get("FailReason").toString());
-                                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateProductiveOutStock");
+                                    error.setUrl(url);
                                     error.setDataVal(jsonObject2.toString()).setType("销售出库");
                                     errorMapper.addError(error);
                                     List<JSONObject> list = (List<JSONObject>) jsonObject2.get("BillItems");
@@ -926,13 +931,15 @@ public class AskGoodsServiceImpl implements AskGoodsService {
             ReqOutStocks.put("BILLs", retunList);
             List<JSONObject> retunList1 = new LinkedList<>();
             returnData.put("strJson", JSON.toJSONString(ReqOutStocks));
+//            String url = "http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGMReqOutStock";
+            String url = "https://erp4.teld.cn:8443/cwbase/sg/V1/ERP/TELD/TELD_WMS/TELD_API_WMS_StockManage/CreateGMReqOutStock";
             HttpClientUtil httpClientUtil1 = new HttpClientUtil();
-            Map<String, Object> result = httpClientUtil1.doPost("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGMReqOutStock", returnData);
+            Map<String, Object> result = httpClientUtil1.doPost(url, returnData);
             Error error = new Error();
             if (Integer.parseInt(result.get("msg").toString()) != 200) {
                 //如果失败存入报错信息跟数据
                 error.setErrorInfo(result.get("data").toString());
-                error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGMReqOutStock");
+                error.setUrl(url);
                 error.setDataVal(returnData.toJSONString()).setType("移库");
                 errorMapper.addError(error);
             } else {
@@ -941,7 +948,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                 if (jsonObject1.get("State").toString().equals("0")) {
                     //如果失败存入报错信息跟数据
                     error.setErrorInfo(jsonObject1.get("Msg").toString());
-                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGMReqOutStock");
+                    error.setUrl(url);
                     error.setDataVal(returnData.toJSONString()).setType("移库");
                     errorMapper.addError(error);
                 } else {
@@ -952,7 +959,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                                 if (jsonObject2.get("WMSCode").toString().equals(map.get("WMSCode")) && jsonObject2.get("FromWareHouse").toString().equals(map.get("FromWareHouse"))) {
                                     //如果失败存入报错信息跟数据
                                     error.setErrorInfo(map.get("FailReason").toString());
-                                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGMReqOutStock");
+                                    error.setUrl(url);
                                     error.setDataVal(jsonObject2.toString()).setType("移库");
                                     errorMapper.addError(error);
                                 }
@@ -1031,13 +1038,16 @@ public class AskGoodsServiceImpl implements AskGoodsService {
             ReqOutStocks.put("BILLs", retunList);
             List<JSONObject> retunList1 = new LinkedList<>();
             returnData.put("strJson", JSON.toJSONString(ReqOutStocks));
+            //回传地址
+//            String url = "http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGRReqInStock";
+            String url = "https://erp4.teld.cn:8443/cwbase/sg/V1/ERP/TELD/TELD_WMS/TELD_API_WMS_StockManage/CreateGRReqInStock";
             HttpClientUtil httpClientUtil1 = new HttpClientUtil();
-            Map<String, Object> result = httpClientUtil1.doPost("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGRReqInStock", returnData);
+            Map<String, Object> result = httpClientUtil1.doPost(url, returnData);
             Error error = new Error();
             if (Integer.parseInt(result.get("msg").toString()) != 200) {
                 //如果失败存入报错信息跟数据
                 error.setErrorInfo(result.get("data").toString());
-                error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGRReqInStock");
+                error.setUrl(url);
                 error.setDataVal(returnData.toJSONString()).setType("生产收货");
                 errorMapper.addError(error);
                 //修改流水传输状态
@@ -1050,7 +1060,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                 if (jsonObject1.get("State").toString().equals("0")) {
                     //如果失败存入报错信息跟数据
                     error.setErrorInfo(jsonObject1.get("Msg").toString());
-                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGRReqInStock");
+                    error.setUrl(url);
                     error.setDataVal(returnData.toJSONString()).setType("生产收货");
                     errorMapper.addError(error);
                 } else {
@@ -1067,7 +1077,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                                     JSONObject ReqOutStocks2 = new JSONObject();
                                     ReqOutStocks2.put("strJson",ReqOutStocks1);
                                     error.setErrorInfo(map.get("FailReason").toString());
-                                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateGRReqInStock");
+                                    error.setUrl(url);
                                     error.setDataVal(ReqOutStocks2.toJSONString()).setType("生产收货");
                                     errorMapper.addError(error);
                                 }
@@ -1148,14 +1158,16 @@ public class AskGoodsServiceImpl implements AskGoodsService {
             List<JSONObject> retunList1 = new LinkedList<>();
             returnData.put("strJson", JSON.toJSONString(ReqOutStocks));
             System.out.println(returnData);
+//            String url = "http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateOtherInStock";
+            String url = "https://erp4.teld.cn:8443/cwbase/sg/V1/ERP/TELD/TELD_WMS/TELD_API_WMS_StockManage/CreateOtherInStock";
             HttpClientUtil httpClientUtil1 = new HttpClientUtil();
-            Map<String, Object> result = httpClientUtil1.doPost("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateOtherInStock", returnData);
+            Map<String, Object> result = httpClientUtil1.doPost(url, returnData);
             System.out.println("result:" + result);
             Error error = new Error();
             if (Integer.parseInt(result.get("msg").toString()) != 200) {
                 //如果失败存入报错信息跟数据
                 error.setErrorInfo(result.get("data").toString());
-                error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateOtherInStock");
+                error.setUrl(url);
                 error.setDataVal(returnData.toJSONString()).setType("其它入库");
                 errorMapper.addError(error);
             } else {
@@ -1164,7 +1176,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                 if (jsonObject1.get("State").toString().equals("0")) {
                     //如果失败存入报错信息跟数据
                     error.setErrorInfo(jsonObject1.get("Msg").toString());
-                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateOtherInStock");
+                    error.setUrl(url);
                     error.setDataVal(returnData.toJSONString()).setType("其它入库");
                     errorMapper.addError(error);
                 } else {
@@ -1175,7 +1187,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                                 if (jsonObject2.get("WMSCode").toString().equals(map.get("WMSCode")) && jsonObject2.get("WareHouse").toString().equals(map.get("WareHouse"))) {
                                     //如果失败存入报错信息跟数据
                                     error.setErrorInfo(map.get("FailReason").toString());
-                                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateOtherInStock");
+                                    error.setUrl(url);
                                     error.setDataVal(jsonObject2.toString()).setType("其它入库");
                                     errorMapper.addError(error);
                                 }
@@ -1251,14 +1263,16 @@ public class AskGoodsServiceImpl implements AskGoodsService {
             List<JSONObject> retunList1 = new LinkedList<>();
             returnData.put("strJson", JSON.toJSONString(ReqOutStocks));
             System.out.println(returnData);
+//            String url = "http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateMakeUpOtherOutStock";
+            String url = "https://erp4.teld.cn:8443/cwbase/sg/V1/ERP/TELD/TELD_WMS/TELD_API_WMS_StockManage/CreateMakeUpOtherOutStock";
             HttpClientUtil httpClientUtil1 = new HttpClientUtil();
-            Map<String, Object> result = httpClientUtil1.doPost("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateMakeUpOtherOutStock", returnData);
+            Map<String, Object> result = httpClientUtil1.doPost(url, returnData);
             System.out.println("result:" + result);
             Error error = new Error();
             if (Integer.parseInt(result.get("msg").toString()) != 200) {
                 //如果失败存入报错信息跟数据
                 error.setErrorInfo(result.get("data").toString());
-                error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateMakeUpOtherOutStock");
+                error.setUrl(url);
                 error.setDataVal(returnData.toJSONString()).setType("其它出库");
                 errorMapper.addError(error);
             } else {
@@ -1267,7 +1281,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                 if (jsonObject1.get("State").toString().equals("0")) {
                     //如果失败存入报错信息跟数据
                     error.setErrorInfo(jsonObject1.get("Msg").toString());
-                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateMakeUpOtherOutStock");
+                    error.setUrl(url);
                     error.setDataVal(returnData.toJSONString()).setType("其它出库");
                     errorMapper.addError(error);
                 } else {
@@ -1278,7 +1292,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                                 if (jsonObject2.get("WMSCode").toString().equals(map.get("WMSCode")) && jsonObject2.get("WareHouse").toString().equals(map.get("WareHouse"))) {
                                     //如果失败存入报错信息跟数据
                                     error.setErrorInfo(map.get("FailReason").toString());
-                                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateMakeUpOtherOutStock");
+                                    error.setUrl(url);
                                     error.setDataVal(jsonObject2.toString()).setType("其它出库");
                                     errorMapper.addError(error);
                                 }
@@ -1357,13 +1371,15 @@ public class AskGoodsServiceImpl implements AskGoodsService {
             returnData.put("strJson", JSON.toJSONString(ReqOutStocks));
             System.out.println(returnData);
             HttpClientUtil httpClientUtil1 = new HttpClientUtil();
-            Map<String, Object> result = httpClientUtil1.doPost("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateOtherOutStock", returnData);
+//            String url = "http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateOtherOutStock";
+            String url = "https://erp4.teld.cn:8443/cwbase/sg/V1/ERP/TELD/TELD_WMS/TELD_API_WMS_StockManage/CreateOtherOutStock";
+            Map<String, Object> result = httpClientUtil1.doPost(url, returnData);
             System.out.println("result:" + result);
             Error error = new Error();
             if (Integer.parseInt(result.get("msg").toString()) != 200) {
                 //如果失败存入报错信息跟数据
                 error.setErrorInfo(result.get("data").toString());
-                error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateOtherOutStock");
+                error.setUrl(url);
                 error.setDataVal(returnData.toJSONString()).setType("其它出库");
                 errorMapper.addError(error);
             } else {
@@ -1372,7 +1388,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                 if (jsonObject1.get("State").toString().equals("0")) {
                     //如果失败存入报错信息跟数据
                     error.setErrorInfo(jsonObject1.get("Msg").toString());
-                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateOtherOutStock");
+                    error.setUrl(url);
                     error.setDataVal(returnData.toJSONString()).setType("其它出库");
                     errorMapper.addError(error);
                 } else {
@@ -1383,7 +1399,7 @@ public class AskGoodsServiceImpl implements AskGoodsService {
                                 if (jsonObject2.get("WMSCode").toString().equals(map.get("WMSCode")) && jsonObject2.get("WareHouse").toString().equals(map.get("WareHouse"))) {
                                     //如果失败存入报错信息跟数据
                                     error.setErrorInfo(map.get("FailReason").toString());
-                                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreateOtherOutStock");
+                                    error.setUrl(url);
                                     error.setDataVal(jsonObject2.toString()).setType("其它出库");
                                     errorMapper.addError(error);
                                 }

+ 6 - 5
src/main/java/com/tld/service/impl/WarehousingServiceImpl.java

@@ -258,16 +258,17 @@ public class WarehousingServiceImpl implements WarehousingService {
                 list.add(BillItems);
                 strJson.put("BillItems", list);
                 returnData.put("strJson", JSON.toJSONString(strJson));
-
-
+                //回传地址
+//                String url = "http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreatePurInStock";
+                String url = "https://erp4.teld.cn:8443/cwbase/sg/V1/ERP/TELD/TELD_WMS/TELD_API_WMS_StockManage/CreatePurInStock";
                 HttpClientUtil httpClientUtil1 = new HttpClientUtil();
-                Map<String, Object> result = httpClientUtil1.doPost("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreatePurInStock", returnData);
+                Map<String, Object> result = httpClientUtil1.doPost(url, returnData);
                 Error error = new Error();
                 int type = 0;
                 if (Integer.parseInt(result.get("msg").toString()) != 200) {
                     //如果失败存入报错信息跟数据
                     error.setErrorInfo(result.get("data").toString());
-                    error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreatePurInStock");
+                    error.setUrl(url);
                     error.setDataVal(returnData.toJSONString()).setType("入库回传");
                     errorMapper.addError(error);
                     type = 1;
@@ -276,7 +277,7 @@ public class WarehousingServiceImpl implements WarehousingService {
                     if (jsonObject.get("State").toString().equals("0")) {
                         //如果失败存入报错信息跟数据
                         error.setErrorInfo(jsonObject.get("Msg").toString());
-                        error.setUrl("http://42.159.85.29:52480/cwbase/sg/V1/ERP/TELD/DEVTEST/API_WMS_PurInStock/CreatePurInStock");
+                        error.setUrl(url);
                         error.setDataVal(returnData.toJSONString()).setType("入库回传");
                         errorMapper.addError(error);
                         type = 1;

+ 10 - 10
src/main/resources/application.yml

@@ -16,16 +16,16 @@ spring:
         master:
           username: root
           password: "#09SilverB"
-          url: jdbc:mysql://8.142.144.205:3306/tld?useUnicode=true&characterEncoding=utf-8&useSSL=true&rewriteBatchedStatements=true&allowMultiQueries=true
+          url: jdbc:mysql://10.2.111.91:3306/tld?useUnicode=true&characterEncoding=utf-8&useSSL=true&rewriteBatchedStatements=true&allowMultiQueries=true
           driver-class-name: com.mysql.cj.jdbc.Driver
         # 从数据源
-#        slave:
-#          # 从数据源开关/默认关闭
-#          enabled: true
-#          url: jdbc:mysql://10.2.111.92:3306/tld?useUnicode=true&characterEncoding=utf-8&useSSL=true&rewriteBatchedStatements=true&allowMultiQueries=true
-#          username: root
-#          password: "#09SilverB"
-#          driver-class-name: com.mysql.cj.jdbc.Driver
+        slave:
+          # 从数据源开关/默认关闭
+          enabled: true
+          url: jdbc:mysql://10.2.111.92:3306/tld?useUnicode=true&characterEncoding=utf-8&useSSL=true&rewriteBatchedStatements=true&allowMultiQueries=true
+          username: root
+          password: "#09SilverB"
+          driver-class-name: com.mysql.cj.jdbc.Driver
         # sqlserver
 #        ds2:
 #          username: sa
@@ -41,8 +41,8 @@ spring:
     async:
       request-timeout: 20000
   redis:
-    host: 8.142.144.205
-#    host: 10.2.111.91
+#    host: 8.142.144.205
+    host: 10.2.111.91
     port: 6379
     password: '#09SilverB'
     jedis: