配置文件
This commit is contained in:
parent
ed84afe8cb
commit
4cd260d0b9
|
|
@ -2,11 +2,15 @@ package com.czg;
|
|||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
|
||||
/**
|
||||
* @author ww
|
||||
*/
|
||||
@SpringBootApplication
|
||||
@EnableDiscoveryClient
|
||||
@EnableFeignClients
|
||||
public class AccountApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(AccountApplication.class, args);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ spring:
|
|||
config:
|
||||
bootstrap:
|
||||
enabled: true
|
||||
data-id: account-server
|
||||
data-id: system-server
|
||||
group: DEFAULT_GROUP
|
||||
auto-refresh: true
|
||||
server-addr: 101.37.12.135:8848
|
||||
|
|
|
|||
Loading…
Reference in New Issue