From 090e789ba465e03c9975b9e990cf66b1863d5172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Thu, 1 Aug 2024 11:23:35 +0800 Subject: [PATCH] 'commit' --- .../spring-configuration-metadata.json | 22 +++++++++++++++++++ .../target/classes/bootstrap-dev.yml | 2 +- .../spring-configuration-metadata.json | 22 +++++++++++++++++++ .../target/classes/bootstrap-dev.yml | 2 +- .../com/charge/gwmgr/filter/CorsFilter.java | 5 +++-- Ylt/ms-admin/target/classes/bootstrap-dev.yml | 2 +- .../target/classes/bootstrap-test-rz.yml | 2 +- .../target/classes/bootstrap-dev.yml | 2 +- .../target/classes/bootstrap-dev.yml | 2 +- .../target/classes/bootstrap-test-rz.yml | 2 +- .../spring-configuration-metadata.json | 22 +++++++++++++++++++ .../spring-configuration-metadata.json | 22 +++++++++++++++++++ .../spring-configuration-metadata.json | 22 +++++++++++++++++++ .../spring-configuration-metadata.json | 22 +++++++++++++++++++ Ylt/ms-task/target/classes/bootstrap-dev.yml | 2 +- Ylt/ms-user/target/classes/bootstrap-dev.yml | 2 +- .../target/classes/bootstrap-test-rz.yml | 2 +- .../target/classes/bootstrap-dev.yml | 2 +- 18 files changed, 146 insertions(+), 13 deletions(-) create mode 100644 Ylt/gw-charge/target/classes/META-INF/spring-configuration-metadata.json create mode 100644 Ylt/gw-openapi/target/classes/META-INF/spring-configuration-metadata.json create mode 100644 Ylt/ms-protocol-kstar/target/classes/META-INF/spring-configuration-metadata.json create mode 100644 Ylt/ms-protocol-shenghong/target/classes/META-INF/spring-configuration-metadata.json create mode 100644 Ylt/ms-protocol-xingxing/target/classes/META-INF/spring-configuration-metadata.json create mode 100644 Ylt/ms-protocol/target/classes/META-INF/spring-configuration-metadata.json diff --git a/Ylt/gw-charge/target/classes/META-INF/spring-configuration-metadata.json b/Ylt/gw-charge/target/classes/META-INF/spring-configuration-metadata.json new file mode 100644 index 0000000..1169ca6 --- /dev/null +++ b/Ylt/gw-charge/target/classes/META-INF/spring-configuration-metadata.json @@ -0,0 +1,22 @@ +{ + "hints": [], + "groups": [ + { + "sourceType": "com.i100c.charge.gw.filter.ZuulPreFilter", + "name": "jwt.filter", + "type": "com.i100c.charge.gw.filter.ZuulPreFilter" + } + ], + "properties": [ + { + "sourceType": "com.i100c.charge.gw.filter.ZuulPreFilter", + "name": "jwt.filter.no-access-filter", + "type": "java.util.List" + }, + { + "sourceType": "com.i100c.charge.gw.filter.ZuulPreFilter", + "name": "jwt.filter.should-not-filter", + "type": "java.util.List" + } + ] +} \ No newline at end of file diff --git a/Ylt/gw-charge/target/classes/bootstrap-dev.yml b/Ylt/gw-charge/target/classes/bootstrap-dev.yml index e0cd9c4..30a9e31 100644 --- a/Ylt/gw-charge/target/classes/bootstrap-dev.yml +++ b/Ylt/gw-charge/target/classes/bootstrap-dev.yml @@ -210,7 +210,7 @@ spring: database: 0 host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8 diff --git a/Ylt/gw-openapi/target/classes/META-INF/spring-configuration-metadata.json b/Ylt/gw-openapi/target/classes/META-INF/spring-configuration-metadata.json new file mode 100644 index 0000000..9b47ecb --- /dev/null +++ b/Ylt/gw-openapi/target/classes/META-INF/spring-configuration-metadata.json @@ -0,0 +1,22 @@ +{ + "hints": [], + "groups": [ + { + "sourceType": "com.charge.gwopenapi.filter.ZuulPreFilter", + "name": "jwt.filter", + "type": "com.charge.gwopenapi.filter.ZuulPreFilter" + } + ], + "properties": [ + { + "sourceType": "com.charge.gwopenapi.filter.ZuulPreFilter", + "name": "jwt.filter.no-access-filter", + "type": "java.util.List" + }, + { + "sourceType": "com.charge.gwopenapi.filter.ZuulPreFilter", + "name": "jwt.filter.should-not-filter", + "type": "java.util.List" + } + ] +} \ No newline at end of file diff --git a/Ylt/gw-openapi/target/classes/bootstrap-dev.yml b/Ylt/gw-openapi/target/classes/bootstrap-dev.yml index 1d515ec..0ade1e0 100644 --- a/Ylt/gw-openapi/target/classes/bootstrap-dev.yml +++ b/Ylt/gw-openapi/target/classes/bootstrap-dev.yml @@ -66,7 +66,7 @@ spring: database: 0 host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8 diff --git a/Ylt/gw-saas-mgr/src/main/java/com/charge/gwmgr/filter/CorsFilter.java b/Ylt/gw-saas-mgr/src/main/java/com/charge/gwmgr/filter/CorsFilter.java index 04d2dc0..d2d0b43 100644 --- a/Ylt/gw-saas-mgr/src/main/java/com/charge/gwmgr/filter/CorsFilter.java +++ b/Ylt/gw-saas-mgr/src/main/java/com/charge/gwmgr/filter/CorsFilter.java @@ -19,7 +19,8 @@ public class CorsFilter implements Filter { HttpServletResponse response = (HttpServletResponse) res; HttpServletRequest request = (HttpServletRequest) req; String uri = request.getRequestURI(); - if(uri.indexOf("/mgrApi/")!=0){//不为mgrApi则跨域 + + if (uri.indexOf("/mgrApi/") != 0) {//不为mgrApi则跨域 request.getServerName(); response.setHeader("Access-Control-Allow-Origin", "*"); response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE, PUT"); @@ -27,7 +28,7 @@ public class CorsFilter implements Filter { response.setHeader("Access-Control-Allow-Headers", "Content-Type, x-requested-with, X-Custom-Header, Authorization,type"); if ("OPTIONS".equalsIgnoreCase(request.getMethod().toUpperCase())) { response.setStatus(HttpServletResponse.SC_OK); - return ; + return; } } chain.doFilter(req, res); diff --git a/Ylt/ms-admin/target/classes/bootstrap-dev.yml b/Ylt/ms-admin/target/classes/bootstrap-dev.yml index 4aa949c..81ef0b4 100644 --- a/Ylt/ms-admin/target/classes/bootstrap-dev.yml +++ b/Ylt/ms-admin/target/classes/bootstrap-dev.yml @@ -24,7 +24,7 @@ spring: database: 0 host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8 diff --git a/Ylt/ms-excel/target/classes/bootstrap-test-rz.yml b/Ylt/ms-excel/target/classes/bootstrap-test-rz.yml index 3493204..4a824eb 100644 --- a/Ylt/ms-excel/target/classes/bootstrap-test-rz.yml +++ b/Ylt/ms-excel/target/classes/bootstrap-test-rz.yml @@ -23,7 +23,7 @@ spring: database: 0 host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8 diff --git a/Ylt/ms-finance/target/classes/bootstrap-dev.yml b/Ylt/ms-finance/target/classes/bootstrap-dev.yml index b764bea..f937d5e 100644 --- a/Ylt/ms-finance/target/classes/bootstrap-dev.yml +++ b/Ylt/ms-finance/target/classes/bootstrap-dev.yml @@ -29,7 +29,7 @@ spring: database: 0 host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8 diff --git a/Ylt/ms-openapi/target/classes/bootstrap-dev.yml b/Ylt/ms-openapi/target/classes/bootstrap-dev.yml index 9b132f7..0b7c707 100644 --- a/Ylt/ms-openapi/target/classes/bootstrap-dev.yml +++ b/Ylt/ms-openapi/target/classes/bootstrap-dev.yml @@ -25,7 +25,7 @@ spring: database: 0 host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8 diff --git a/Ylt/ms-openapi/target/classes/bootstrap-test-rz.yml b/Ylt/ms-openapi/target/classes/bootstrap-test-rz.yml index 104bdab..c77ac77 100644 --- a/Ylt/ms-openapi/target/classes/bootstrap-test-rz.yml +++ b/Ylt/ms-openapi/target/classes/bootstrap-test-rz.yml @@ -23,7 +23,7 @@ spring: database: 0 host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8 diff --git a/Ylt/ms-protocol-kstar/target/classes/META-INF/spring-configuration-metadata.json b/Ylt/ms-protocol-kstar/target/classes/META-INF/spring-configuration-metadata.json new file mode 100644 index 0000000..9579ccb --- /dev/null +++ b/Ylt/ms-protocol-kstar/target/classes/META-INF/spring-configuration-metadata.json @@ -0,0 +1,22 @@ +{ + "hints": [], + "groups": [ + { + "sourceType": "com.charge.kstar.model.ProtocolConfig", + "name": "protocol_servers", + "type": "com.charge.kstar.model.ProtocolConfig" + } + ], + "properties": [ + { + "sourceType": "com.charge.kstar.model.ProtocolConfig", + "name": "protocol_servers.list", + "type": "java.util.List" + }, + { + "sourceType": "com.charge.kstar.model.ProtocolConfig", + "name": "protocol_servers.name", + "type": "java.lang.String" + } + ] +} \ No newline at end of file diff --git a/Ylt/ms-protocol-shenghong/target/classes/META-INF/spring-configuration-metadata.json b/Ylt/ms-protocol-shenghong/target/classes/META-INF/spring-configuration-metadata.json new file mode 100644 index 0000000..b79fcb2 --- /dev/null +++ b/Ylt/ms-protocol-shenghong/target/classes/META-INF/spring-configuration-metadata.json @@ -0,0 +1,22 @@ +{ + "hints": [], + "groups": [ + { + "sourceType": "com.charge.protocol.model.ProtocolConfig", + "name": "protocol_servers", + "type": "com.charge.protocol.model.ProtocolConfig" + } + ], + "properties": [ + { + "sourceType": "com.charge.protocol.model.ProtocolConfig", + "name": "protocol_servers.list", + "type": "java.util.List" + }, + { + "sourceType": "com.charge.protocol.model.ProtocolConfig", + "name": "protocol_servers.name", + "type": "java.lang.String" + } + ] +} \ No newline at end of file diff --git a/Ylt/ms-protocol-xingxing/target/classes/META-INF/spring-configuration-metadata.json b/Ylt/ms-protocol-xingxing/target/classes/META-INF/spring-configuration-metadata.json new file mode 100644 index 0000000..b79fcb2 --- /dev/null +++ b/Ylt/ms-protocol-xingxing/target/classes/META-INF/spring-configuration-metadata.json @@ -0,0 +1,22 @@ +{ + "hints": [], + "groups": [ + { + "sourceType": "com.charge.protocol.model.ProtocolConfig", + "name": "protocol_servers", + "type": "com.charge.protocol.model.ProtocolConfig" + } + ], + "properties": [ + { + "sourceType": "com.charge.protocol.model.ProtocolConfig", + "name": "protocol_servers.list", + "type": "java.util.List" + }, + { + "sourceType": "com.charge.protocol.model.ProtocolConfig", + "name": "protocol_servers.name", + "type": "java.lang.String" + } + ] +} \ No newline at end of file diff --git a/Ylt/ms-protocol/target/classes/META-INF/spring-configuration-metadata.json b/Ylt/ms-protocol/target/classes/META-INF/spring-configuration-metadata.json new file mode 100644 index 0000000..b79fcb2 --- /dev/null +++ b/Ylt/ms-protocol/target/classes/META-INF/spring-configuration-metadata.json @@ -0,0 +1,22 @@ +{ + "hints": [], + "groups": [ + { + "sourceType": "com.charge.protocol.model.ProtocolConfig", + "name": "protocol_servers", + "type": "com.charge.protocol.model.ProtocolConfig" + } + ], + "properties": [ + { + "sourceType": "com.charge.protocol.model.ProtocolConfig", + "name": "protocol_servers.list", + "type": "java.util.List" + }, + { + "sourceType": "com.charge.protocol.model.ProtocolConfig", + "name": "protocol_servers.name", + "type": "java.lang.String" + } + ] +} \ No newline at end of file diff --git a/Ylt/ms-task/target/classes/bootstrap-dev.yml b/Ylt/ms-task/target/classes/bootstrap-dev.yml index ce6b2c0..2a1c36f 100644 --- a/Ylt/ms-task/target/classes/bootstrap-dev.yml +++ b/Ylt/ms-task/target/classes/bootstrap-dev.yml @@ -22,7 +22,7 @@ spring: redis: host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8 diff --git a/Ylt/ms-user/target/classes/bootstrap-dev.yml b/Ylt/ms-user/target/classes/bootstrap-dev.yml index d246bdb..a21f792 100644 --- a/Ylt/ms-user/target/classes/bootstrap-dev.yml +++ b/Ylt/ms-user/target/classes/bootstrap-dev.yml @@ -20,7 +20,7 @@ spring: database: 0 host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8 diff --git a/Ylt/ms-user/target/classes/bootstrap-test-rz.yml b/Ylt/ms-user/target/classes/bootstrap-test-rz.yml index d9d6cb3..6a0ff32 100644 --- a/Ylt/ms-user/target/classes/bootstrap-test-rz.yml +++ b/Ylt/ms-user/target/classes/bootstrap-test-rz.yml @@ -18,7 +18,7 @@ spring: database: 0 host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8 diff --git a/Ylt/ms-wallet/target/classes/bootstrap-dev.yml b/Ylt/ms-wallet/target/classes/bootstrap-dev.yml index 6e28ca9..1713e6f 100644 --- a/Ylt/ms-wallet/target/classes/bootstrap-dev.yml +++ b/Ylt/ms-wallet/target/classes/bootstrap-dev.yml @@ -18,7 +18,7 @@ spring: database: 0 host: 10.10.14.210 port: 6379 - password: rzyc#redis + password: ylt#redis timeout: 0 pool: max-active: 8