From 2f737df6f8e482540a465445bdb003d98103db54 Mon Sep 17 00:00:00 2001
From: linzhijie <19970921lzj>
Date: 星期一, 12 四月 2021 23:41:17 +0800
Subject: [PATCH] 第二次无注释的源码

---
 src/main/resources/application.yml |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 52 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index bdfe337..a4ec783 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,78 +1,125 @@
+# 鐜閰嶇疆
 server:
+  # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负80
   port: 8090
   servlet:
+    # 搴旂敤鐨勮闂矾寰�
     context-path: /
   tomcat:
+    # tomcat鐨刄RI缂栫爜
     uri-encoding: UTF-8
+    # tomcat鏈�澶х嚎绋嬫暟锛岄粯璁や负200
     max-threads: 800
+    # Tomcat鍚姩鍒濆鍖栫殑绾跨▼鏁帮紝榛樿鍊�25
     min-spare-threads: 30
-
+# 鏃ュ織閰嶇疆
 logging:
   level:
     com.ots: debug
     org.springframework: warn
 
+# 鐢ㄦ埛閰嶇疆
 user:
   password:
+    # 瀵嗙爜閿欒{maxRetryCount}娆¢攣瀹�10鍒嗛挓
     maxRetryCount: 5
 
+# Spring閰嶇疆
 spring:
+  # 妯℃澘寮曟搸
   thymeleaf:
     mode: HTML
     encoding: utf-8
+    # 绂佺敤缂撳瓨
     cache: false
+  # 璧勬簮淇℃伅
   messages:
+    # 鍥介檯鍖栬祫婧愭枃浠惰矾寰�
     basename: static/i18n/messages
   jackson:
     time-zone: GMT+8
     date-format: yyyy-MM-dd HH:mm:ss
   profiles: 
-    active: sand
+    active: dev
+  # 鏂囦欢涓婁紶
   servlet:
      multipart:
+       # 鍗曚釜鏂囦欢澶у皬
        max-file-size:  10MB
+       # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
        max-request-size:  20MB
+  # 鏈嶅姟妯″潡
   devtools:
     restart:
+      # 鐑儴缃插紑鍏�
       enabled: true
 
+# MyBatis
 mybatis:
+    # 鎼滅储鎸囧畾鍖呭埆鍚�
     typeAliasesPackage: com.ots.project
+    # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢
     mapperLocations: classpath:mybatis/**/*Mapper.xml
+    # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠�
     configLocation: classpath:mybatis/mybatis-config.xml
 
+# PageHelper鍒嗛〉鎻掍欢
 pagehelper: 
   helperDialect: mysql
   reasonable: true
   supportMethodsArguments: true
   params: count=countSql 
 
+# Shiro
 shiro:
   user:
+    # 鐧诲綍鍦板潃
     loginUrl: /login
+    # 鏉冮檺璁よ瘉澶辫触鍦板潃
     unauthorizedUrl: /unauth
+    # 棣栭〉鍦板潃
     indexUrl: /index
+    # 楠岃瘉鐮佸紑鍏�
     captchaEnabled: true
+    # 楠岃瘉鐮佺被鍨� math 鏁扮粍璁$畻 char 瀛楃
     captchaType: math
   cookie:
-    domain:
+    # 璁剧疆Cookie鐨勫煙鍚� 榛樿绌猴紝鍗冲綋鍓嶈闂殑鍩熷悕
+    domain: 
+    # 璁剧疆cookie鐨勬湁鏁堣闂矾寰�
     path: /
+    # 璁剧疆HttpOnly灞炴��
     httpOnly: true
+    # 璁剧疆Cookie鐨勮繃鏈熸椂闂达紝澶╀负鍗曚綅
     maxAge: 30
   session:
+    # Session瓒呮椂鏃堕棿锛堥粯璁�30鍒嗛挓锛�
     expireTime: 30
+    # 鍚屾session鍒版暟鎹簱鐨勫懆鏈燂紙榛樿1鍒嗛挓锛�
     dbSyncPeriod: 1
+    # 鐩搁殧澶氫箙妫�鏌ヤ竴娆ession鐨勬湁鏁堟�э紝榛樿灏辨槸10鍒嗛挓
     validationInterval: 10
+    # 鍚屼竴涓敤鎴锋渶澶т細璇濇暟锛屾瘮濡�2鐨勬剰鎬濇槸鍚屼竴涓处鍙峰厑璁告渶澶氬悓鏃朵袱涓汉鐧诲綍锛堥粯璁�-1涓嶉檺鍒讹級
     maxSession: -1
+    # 韪㈠嚭涔嬪墠鐧诲綍鐨�/涔嬪悗鐧诲綍鐨勭敤鎴凤紝榛樿韪㈠嚭涔嬪墠鐧诲綍鐨勭敤鎴�
     kickoutAfter: false
 
-xss:
+# 闃叉XSS鏀诲嚮
+xss: 
+  # 杩囨护寮�鍏�
   enabled: true
+  # 鎺掗櫎閾炬帴锛堝涓敤閫楀彿鍒嗛殧锛�
   excludes: /system/notice/*
+  # 鍖归厤閾炬帴
   urlPatterns: /system/*,/monitor/*,/tool/*
 
-gen:
+# 浠g爜鐢熸垚
+gen: 
+  # 浣滆��
   author: ots
+  # 榛樿鐢熸垚鍖呰矾寰� system 闇�鏀规垚鑷繁鐨勬ā鍧楀悕绉� 濡� system monitor tool
   packageName: com.ots.project
+  # 鑷姩鍘婚櫎琛ㄥ墠缂�锛岄粯璁ゆ槸true
   autoRemovePre: true
+  # 琛ㄥ墠缂�(绫诲悕涓嶄細鍖呭惈琛ㄥ墠缂�)
   tablePrefix: sys_

--
Gitblit v1.9.1