microservice-discovery-eureka —— 微服务访问路径:
http://user:password123@localhost:8761
microservice-provider-user —— 用户子微服务访问路径: http://localhost:7900/simple/1
1.创建maven项目子父工程项目——父项目 microservice-spring-cloud
文件地址—— microservice-spring-cloud/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- 本项目定义版本和名称 -->
<groupId>com.itmuch.cloud</groupId>
<artifactId>microservi