- 在对应需要调的服务配置文件加上路径
#===============审批方案微服务配置================
server.port: 9004
upload.path: /alldev/u01/
schedule.cron.countDown: 0 0 8-18 * * ?
statistics.syskey: ywsp
schedule.countDown.isExecute: true
post.url.updateStatus: http://10.3.2.222:8888/ecological-retrieval/ZbStZtgl/updateState(对应调用的方法路径)
- 依赖
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.5.10</version>
</dependency>
- 获取服务器配置文件调用方法路径