- 修改:application old 改为 start

This commit is contained in:
cherishsince
2020-05-14 14:17:53 +08:00
parent 83ccd6729f
commit 963dffb862
26 changed files with 132 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
swagger:
enable: false
title: 营销子系统
description: 营销子系统
version: 1.0.0
base-package: cn.iocoder.mall.promotion.application.controller

View File

@@ -0,0 +1,33 @@
spring:
application:
name: promotion-application
# Spring Cloud 配置项
cloud:
# Spring Cloud Sentinel 配置项
sentinel:
transport:
dashboard: s1.iocoder.cn:12088 # Sentinel Dashboard 服务地址
eager: true # 项目启动时,直接连接到 Sentinel
# server
server:
port: 18085
servlet:
context-path: /promotion-api/
swagger:
enable: true
title: 促销子系统
description: 促销子系统
version: 1.0.0
base-package: cn.iocoder.mall.promotion.application.controller
management:
endpoints:
web:
exposure:
include: health,info,env,metrics,prometheus
metrics:
enabled: true