更新配置
This commit is contained in:
@@ -16,7 +16,7 @@ public class GatewayApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(GatewayApplication.class, args);
|
||||
System.out.println("========================================");
|
||||
System.out.println(" 网关服务启动成功! 端口: 9000");
|
||||
System.out.println(" 网关服务启动成功! 端口: 32000");
|
||||
System.out.println("========================================");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,10 +23,10 @@ public class GatewayController {
|
||||
private final RestTemplate restTemplate;
|
||||
private final SysSystemMapper sysSystemMapper;
|
||||
|
||||
@Value("${gateway.route.auth-url:http://127.0.0.1:9001}")
|
||||
@Value("${gateway.route.auth-url:http://127.0.0.1:32001}")
|
||||
private String authServiceUrl;
|
||||
|
||||
@Value("${gateway.route.admin-url:http://127.0.0.1:9002}")
|
||||
@Value("${gateway.route.admin-url:http://127.0.0.1:32002}")
|
||||
private String adminServiceUrl;
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,8 +26,8 @@ mybatis-plus:
|
||||
|
||||
gateway:
|
||||
route:
|
||||
auth-url: http://10.10.1.170:9001
|
||||
admin-url: http://10.10.1.170:9002
|
||||
auth-url: http://10.10.1.170:32001
|
||||
admin-url: http://10.10.1.170:32002
|
||||
|
||||
logging:
|
||||
level:
|
||||
|
||||
@@ -26,8 +26,8 @@ mybatis-plus:
|
||||
|
||||
gateway:
|
||||
route:
|
||||
auth-url: http://127.0.0.1:9001
|
||||
admin-url: http://127.0.0.1:9002
|
||||
auth-url: http://127.0.0.1:32001
|
||||
admin-url: http://127.0.0.1:32002
|
||||
|
||||
logging:
|
||||
level:
|
||||
|
||||
Reference in New Issue
Block a user