diff --git a/Ylt/ms-finance/src/main/resources/bootstrap-dev.yml b/Ylt/ms-finance/src/main/resources/bootstrap-dev.yml index f937d5e..e32f704 100644 --- a/Ylt/ms-finance/src/main/resources/bootstrap-dev.yml +++ b/Ylt/ms-finance/src/main/resources/bootstrap-dev.yml @@ -1,10 +1,9 @@ spring: datasource: driver-class-name: com.mysql.jdbc.Driver -# url: jdbc:mysql://10.10.14.210:22066/ycharge?useUnicode=true&characterEncoding=UTF-8 - url: jdbc:mysql://10.10.14.210:22066/ycharge?useUnicode=true&characterEncoding=UTF-8 - username: icharge - password: icharge + url: jdbc:mysql://10.10.14.210:22066/yltcharge?useUnicode=true&characterEncoding=UTF-8 + username: ycharge + password: ycharge druid: stat-view-servlet: allow: true @@ -21,9 +20,9 @@ spring: mongodb: host: 10.10.14.210 port: 27017 - database: ycharge - username: ycharge - password: ycharge + database: yltcharge + username: yltcharge + password: yltcharge redis: database: 0 diff --git a/Ylt/ms-finance/target/classes/bootstrap-dev.yml b/Ylt/ms-finance/target/classes/bootstrap-dev.yml index f937d5e..e32f704 100644 --- a/Ylt/ms-finance/target/classes/bootstrap-dev.yml +++ b/Ylt/ms-finance/target/classes/bootstrap-dev.yml @@ -1,10 +1,9 @@ spring: datasource: driver-class-name: com.mysql.jdbc.Driver -# url: jdbc:mysql://10.10.14.210:22066/ycharge?useUnicode=true&characterEncoding=UTF-8 - url: jdbc:mysql://10.10.14.210:22066/ycharge?useUnicode=true&characterEncoding=UTF-8 - username: icharge - password: icharge + url: jdbc:mysql://10.10.14.210:22066/yltcharge?useUnicode=true&characterEncoding=UTF-8 + username: ycharge + password: ycharge druid: stat-view-servlet: allow: true @@ -21,9 +20,9 @@ spring: mongodb: host: 10.10.14.210 port: 27017 - database: ycharge - username: ycharge - password: ycharge + database: yltcharge + username: yltcharge + password: yltcharge redis: database: 0 diff --git a/Ylt/ms-task/src/main/java/com/charge/task/TaskApplication.java b/Ylt/ms-task/src/main/java/com/charge/task/TaskApplication.java index dd0e4ef..0f26b61 100644 --- a/Ylt/ms-task/src/main/java/com/charge/task/TaskApplication.java +++ b/Ylt/ms-task/src/main/java/com/charge/task/TaskApplication.java @@ -2,18 +2,14 @@ package com.charge.task; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.feign.EnableFeignClients; -import org.springframework.context.annotation.ComponentScan; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @EnableFeignClients -@ComponentScan @SpringBootApplication -@EnableAutoConfiguration @EnableScheduling @MapperScan(basePackages = "com.charge.task.dao") @RestController diff --git a/Ylt/ms-task/src/main/resources/bootstrap-dev.yml b/Ylt/ms-task/src/main/resources/bootstrap-dev.yml index 2a1c36f..cb59e5d 100644 --- a/Ylt/ms-task/src/main/resources/bootstrap-dev.yml +++ b/Ylt/ms-task/src/main/resources/bootstrap-dev.yml @@ -15,9 +15,9 @@ spring: mongodb: host: 10.10.14.210 port: 27017 - database: ycharge - username: ycharge - password: ycharge + database: yltcharge + username: yltcharge + password: yltcharge redis: host: 10.10.14.210 @@ -29,32 +29,30 @@ spring: max-idle: 8 min-idle: 0 -# 这里写有什么意义呢? +# 调用其它项目配置 openapi: ribbon: - listOfServers: http://i100c.3322.org:31301 + listOfServers: http://ms-finance:7014 distributeapi: ribbon: - listOfServers: http://i100c.3322.org:31636 + listOfServers: http://ms-admin:7011 financeapi: ribbon: - listOfServers: http://i100c.3322.org:32134 + listOfServers: http://ms-websocket-ocpp:7022 orderbkapi: ribbon: - listOfServers: http://i100c.3322.org:32202 + listOfServers: http://ms-admin:7011 orderapi: ribbon: - listOfServers: http://i100c.3322.org:30258 + listOfServers: http://ms-task:7021 userapi: ribbon: - listOfServers: http://i100c.3322.org:32150 - - + listOfServers: http://ms-user:7022 hlht: false diff --git a/Ylt/ms-task/target/classes/bootstrap-dev.yml b/Ylt/ms-task/target/classes/bootstrap-dev.yml index 2a1c36f..cb59e5d 100644 --- a/Ylt/ms-task/target/classes/bootstrap-dev.yml +++ b/Ylt/ms-task/target/classes/bootstrap-dev.yml @@ -15,9 +15,9 @@ spring: mongodb: host: 10.10.14.210 port: 27017 - database: ycharge - username: ycharge - password: ycharge + database: yltcharge + username: yltcharge + password: yltcharge redis: host: 10.10.14.210 @@ -29,32 +29,30 @@ spring: max-idle: 8 min-idle: 0 -# 这里写有什么意义呢? +# 调用其它项目配置 openapi: ribbon: - listOfServers: http://i100c.3322.org:31301 + listOfServers: http://ms-finance:7014 distributeapi: ribbon: - listOfServers: http://i100c.3322.org:31636 + listOfServers: http://ms-admin:7011 financeapi: ribbon: - listOfServers: http://i100c.3322.org:32134 + listOfServers: http://ms-websocket-ocpp:7022 orderbkapi: ribbon: - listOfServers: http://i100c.3322.org:32202 + listOfServers: http://ms-admin:7011 orderapi: ribbon: - listOfServers: http://i100c.3322.org:30258 + listOfServers: http://ms-task:7021 userapi: ribbon: - listOfServers: http://i100c.3322.org:32150 - - + listOfServers: http://ms-user:7022 hlht: false diff --git a/Ylt/ms-websocket-ocpp/src/main/resources/bootstrap-dev.yml b/Ylt/ms-websocket-ocpp/src/main/resources/bootstrap-dev.yml index 96657f3..9e10414 100644 --- a/Ylt/ms-websocket-ocpp/src/main/resources/bootstrap-dev.yml +++ b/Ylt/ms-websocket-ocpp/src/main/resources/bootstrap-dev.yml @@ -1,8 +1,8 @@ spring: datasource: - url: jdbc:mysql://10.10.14.210:22066/ycharge?useUnicode=true&characterEncoding=UTF-8 - username: icharge - password: icharge + url: jdbc:mysql://10.10.14.210:22066/yltcharge?useUnicode=true&characterEncoding=UTF-8 + username: ycharge + password: ycharge driver-class-name: com.mysql.jdbc.Driver druid: stat-view-servlet: diff --git a/Ylt/ms-websocket-ocpp/target/classes/bootstrap-dev.yml b/Ylt/ms-websocket-ocpp/target/classes/bootstrap-dev.yml index 96657f3..9e10414 100644 --- a/Ylt/ms-websocket-ocpp/target/classes/bootstrap-dev.yml +++ b/Ylt/ms-websocket-ocpp/target/classes/bootstrap-dev.yml @@ -1,8 +1,8 @@ spring: datasource: - url: jdbc:mysql://10.10.14.210:22066/ycharge?useUnicode=true&characterEncoding=UTF-8 - username: icharge - password: icharge + url: jdbc:mysql://10.10.14.210:22066/yltcharge?useUnicode=true&characterEncoding=UTF-8 + username: ycharge + password: ycharge driver-class-name: com.mysql.jdbc.Driver druid: stat-view-servlet: diff --git a/操作文档/驿来特代码模块依赖图.xmind b/操作文档/驿来特代码模块依赖图.xmind new file mode 100644 index 0000000..1b2a28d Binary files /dev/null and b/操作文档/驿来特代码模块依赖图.xmind differ