From 8f781f3cb17187a7ee58f41632c25fbb2aa81cc7 Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期二, 16 三月 2021 19:57:24 +0800 Subject: [PATCH] 补充环境配置 --- src/main/resources/application.yml | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index ab5b1fc..ceffe07 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -39,15 +39,15 @@ jackson: time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss - profiles: - active: online + profiles: + active: dev # 鏂囦欢涓婁紶 servlet: - multipart: - # 鍗曚釜鏂囦欢澶у皬 - max-file-size: 10MB - # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬 - max-request-size: 20MB + multipart: + # 鍗曚釜鏂囦欢澶у皬 + max-file-size: 10MB + # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬 + max-request-size: 20MB # 鏈嶅姟妯″潡 devtools: restart: @@ -56,19 +56,19 @@ # MyBatis mybatis: - # 鎼滅储鎸囧畾鍖呭埆鍚� - typeAliasesPackage: com.ots.project - # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢 - mapperLocations: classpath:mybatis/**/*Mapper.xml - # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠� - configLocation: classpath:mybatis/mybatis-config.xml + # 鎼滅储鎸囧畾鍖呭埆鍚� + typeAliasesPackage: com.ots.project + # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢 + mapperLocations: classpath:mybatis/**/*Mapper.xml + # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠� + configLocation: classpath:mybatis/mybatis-config.xml # PageHelper鍒嗛〉鎻掍欢 -pagehelper: +pagehelper: helperDialect: mysql reasonable: true supportMethodsArguments: true - params: count=countSql + params: count=countSql # Shiro shiro: @@ -85,7 +85,7 @@ captchaType: math cookie: # 璁剧疆Cookie鐨勫煙鍚� 榛樿绌猴紝鍗冲綋鍓嶈闂殑鍩熷悕 - domain: + domain: # 璁剧疆cookie鐨勬湁鏁堣闂矾寰� path: / # 璁剧疆HttpOnly灞炴�� @@ -105,7 +105,7 @@ kickoutAfter: false # 闃叉XSS鏀诲嚮 -xss: +xss: # 杩囨护寮�鍏� enabled: true # 鎺掗櫎閾炬帴锛堝涓敤閫楀彿鍒嗛殧锛� @@ -114,7 +114,7 @@ urlPatterns: /system/*,/monitor/*,/tool/* # 浠g爜鐢熸垚 -gen: +gen: # 浣滆�� author: ots # 榛樿鐢熸垚鍖呰矾寰� system 闇�鏀规垚鑷繁鐨勬ā鍧楀悕绉� 濡� system monitor tool -- Gitblit v1.9.1