RestTemplate实现远程调用
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.test.config;
|
||||
|
||||
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.security.oauth2.client.OAuth2ClientContext;
|
||||
|
@@ -6,6 +6,8 @@ spring:
|
||||
url: jdbc:mysql://43.143.164.194:3306/mac
|
||||
username: mac
|
||||
password: mactest
|
||||
application:
|
||||
name: borrowservice
|
||||
security:
|
||||
oauth2:
|
||||
client:
|
||||
|
Reference in New Issue
Block a user