22# ################# 所有profile共有的配置 #################
33# #########################################################
44
5- # ################## 自定义项目配置 ###################
6- xncoding :
7- socket-port : 9096 # socket端口
8- ping-interval : 60000 # Ping消息间隔(毫秒)
9- ping-timeout : 180000 # Ping消息超时时间(毫秒)
10-
115# ################## 项目启动端口 ###################
126server.port : 9095
137
148# ################## spring配置 ###################
159spring :
1610 profiles :
1711 active : dev
18- http :
19- multipart :
20- max-request-size : 100MB # 最大请求大小
21- max-file-size : 100MB # 最大文件大小
22-
23- # ################## mybatis-plus配置 ###################
24- mybatis-plus :
25- mapper-locations : classpath*:com/xncoding/jwt/dao/repository/mapping/*.xml
26- typeAliasesPackage : >
27- com.xncoding.jwt.api.model,
28- com.xncoding.jwt.dao.entity,
29- com.xncoding.jwt.common.dao.entity
30- global-config :
31- id-type : 0 # 0:数据库ID自增 1:用户输入id 2:全局唯一id(IdWorker) 3:全局唯一ID(uuid)
32- db-column-underline : false
33- refresh-mapper : true
34- configuration :
35- map-underscore-to-camel-case : true
36- cache-enabled : true # 配置的缓存的全局开关
37- lazyLoadingEnabled : true # 延时加载的开关
38- multipleResultSetsEnabled : true # 开启的话,延时加载一个属性时会加载该对象全部属性,否则按需加载属性
39-
40- # ################## spring security配置 ###################
41- security :
42- ignored : /static/**
4312
4413logging :
4514 level :
@@ -52,23 +21,13 @@ logging:
5221# ####################################################################
5322spring :
5423 profiles : dev
55- datasource :
56- url : jdbc:mysql://123.207.66.156:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
57- username : root
58- password : ******
59- thymeleaf :
60- cache : false
61-
62- # ################## 自定义项目配置 ###################
63- xncoding :
64- apk-url-prefix : http://xncoding.net/files/ # APK文件访问URL前缀
6524
6625logging :
6726 level :
6827 ROOT : INFO
6928 com :
7029 xncoding : DEBUG
71- file : E:/logs/pos -api.log
30+ file : E:/logs/app -api.log
7231
7332---
7433
@@ -78,20 +37,10 @@ logging:
7837
7938spring :
8039 profiles : test
81- datasource :
82- url : jdbc:mysql://123.207.66.156:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
83- username : root
84- password : ******
85- thymeleaf :
86- cache : false
87-
88- # ################## 自定义项目配置 ###################
89- xncoding :
90- apk-url-prefix : https://show.xncoding.net/files/ # APK文件访问URL前缀
9140
9241logging :
9342 level :
9443 ROOT : INFO
9544 com :
9645 xncoding : DEBUG
97- file : /var/logs/app-manage- api.log
46+ file : /var/logs/app-api.log
0 commit comments