添加代码示例springboot-websocket

This commit is contained in:
yidao620
2018-02-28 16:37:25 +08:00
parent 7db9f11a9c
commit 41927e2762
17 changed files with 16204 additions and 1 deletions

View File

@ -0,0 +1,43 @@
##########################################################
################## 所有profile共有的配置 #################
##########################################################
################### spring配置 ###################
spring:
profiles:
active: dev
server:
port: 8092
---
#####################################################################
######################## 开发环境profile ##########################
#####################################################################
spring:
profiles: dev
logging:
level:
ROOT: INFO
com:
xncoding: DEBUG
file: E:/logs/app.log
---
#####################################################################
######################## 测试环境profile ##########################
#####################################################################
spring:
profiles: test
logging:
level:
ROOT: INFO
com:
xncoding: DEBUG
file: /var/logs/app.log