main
黄海 12 months ago
parent 749c307842
commit 98fe9f80a9

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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:

@ -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:

Loading…
Cancel
Save