test:(修改了配置跟依赖)

dev
zhang xu 2024-06-16 22:32:22 +08:00
parent 94b0255fc1
commit 2d46bb9375
14 changed files with 44 additions and 49 deletions

View File

@ -14,12 +14,14 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
config:
# 配置中心地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
namespace: networking

View File

@ -23,6 +23,7 @@
<groupId>com.muyu</groupId>
<artifactId>muyu-common-core</artifactId>
</dependency>
<dependency>
<groupId>com.muyu</groupId>
<artifactId>muyu-networking-common</artifactId>

View File

@ -1,10 +0,0 @@
package com.muyu.common.system.remote;
/**
* @ClassDescription:
* @JdkVersion: 17
* @Author: zhangxu
* @Created: 2024/6/10 21:14
*/
public interface RemoEntInfoService {
}

View File

@ -14,10 +14,12 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
config:
# 配置中心地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
# 配置文件格式
file-extension: yml
# 共享配置
@ -28,7 +30,7 @@ spring:
eager: true
transport:
# 控制台地址
dashboard: 115.159.67.205:8718
dashboard: 122.152.211.1:8718
# nacos配置持久化
datasource:
ds1:

View File

@ -14,12 +14,15 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
config:
# 配置中心地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}

View File

@ -14,12 +14,14 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
config:
# 配置中心地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
namespace: networking

View File

@ -14,7 +14,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@EnableCustomConfig
@EnableCustomSwagger2
@EnableMyFeignClients
@SpringBootApplication
@SpringBootApplication()
public class MuYuJobApplication {
public static void main (String[] args) {
SpringApplication.run(MuYuJobApplication.class, args);

View File

@ -14,12 +14,15 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
config:
# 配置中心地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}

View File

@ -66,17 +66,9 @@
<artifactId>mysql-connector-j</artifactId>
</dependency>
<!-- MuYu Common DataSource -->
<dependency>
<groupId>com.muyu</groupId>
<artifactId>muyu-common-datasource</artifactId>
</dependency>
<!-- MuYu Common DataScope -->
<dependency>
<groupId>com.muyu</groupId>
<artifactId>muyu-common-datascope</artifactId>
</dependency>
<!-- MuYu Common Log -->
<dependency>

View File

@ -14,15 +14,17 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
config:
# 配置中心地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
namespace: networking
logging:
level:

View File

@ -68,17 +68,9 @@
<artifactId>mysql-connector-j</artifactId>
</dependency>
<!-- MuYu Common DataSource -->
<dependency>
<groupId>com.muyu</groupId>
<artifactId>muyu-common-datasource</artifactId>
</dependency>
<!-- MuYu Common DataScope -->
<dependency>
<groupId>com.muyu</groupId>
<artifactId>muyu-common-datascope</artifactId>
</dependency>
<!-- MuYu Common Log -->
<dependency>

View File

@ -14,15 +14,17 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
config:
# 配置中心地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
namespace: networking
logging:
level:
com.muyu.system.mapper: DEBUG

View File

@ -25,15 +25,17 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
config:
# 配置中心地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
namespace: networking
logging:
level:

View File

@ -14,12 +14,14 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
namespace: networking
config:
# 配置中心地址
server-addr: 115.159.67.205:8848
server-addr: 122.152.211.1:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
namespace: networking