pom.xml
1 | <dependency> |
application.yml
1 | server: |
bootstrap.yml
1 | spring: |
ConfigClientController.java
1 | package com.linjian.configclient.controller; |
测试:
启动config-server、config-client
1 | <dependency> |
1 | server: |
1 | spring: |
1 | package com.linjian.configclient.controller; |
启动config-server、config-client