Banner 的迁移

商品推荐的迁移
This commit is contained in:
YunaiV
2020-08-25 18:51:04 +08:00
parent f0999eac46
commit 709b85e453
25 changed files with 239 additions and 2121 deletions

View File

@@ -72,6 +72,12 @@
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<!-- 监控相关 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- 工具类相关 -->
<dependency>
<groupId>org.projectlombok</groupId>
@@ -89,4 +95,16 @@
</dependencies>
<build>
<!-- 设置构建的 jar 包名 -->
<finalName>${project.artifactId}</finalName>
<!-- 使用 spring-boot-maven-plugin 插件打包 -->
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@@ -44,3 +44,8 @@ swagger:
description: 提供用户注册、登陆、信息等等 API
version: 1.0.0
base-package: cn.iocoder.mall.userweb.controller
# Actuator 监控配置项
management:
server.port: 38086 # 独立端口,避免被暴露出去
endpoints.web.exposure.include: '*' # 暴露所有监控端点