From c82afc8c461956e45be0aa29ca2a7fe3f18ee6f7 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 28 十二月 2021 11:23:33 +0800 Subject: [PATCH] update RedisUtils 迁移到 utils/redis 包下 --- ruoyi-admin/src/main/resources/application.yml | 26 ++++++++++++++++++++------ 1 files changed, 20 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index cd53e4a..ae361f4 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -10,6 +10,8 @@ demoEnabled: true # 鑾峰彇ip鍦板潃寮�鍏� addressEnabled: true + # 缂撳瓨鎳掑姞杞� + cacheLazy: false captcha: # 椤甸潰 <鍙傛暟璁剧疆> 鍙紑鍚叧闂� 楠岃瘉鐮佹牎楠� @@ -50,10 +52,6 @@ com.ruoyi: @logging.level@ org.springframework: warn config: classpath:logback.xml - -# tlog 鍏ㄥ眬璁块棶鎬ц兘鎷︽埅 -tlog: - enable-invoke-time-print: true # Spring閰嶇疆 spring: @@ -118,11 +116,11 @@ - /*/api-docs # druid 鐩戞帶閰嶇疆 - /druid/** + # 鐢ㄦ埛鏀捐 + permit-all: # actuator 鐩戞帶閰嶇疆 - /actuator - /actuator/** - # 鐢ㄦ埛鏀捐 - permit-all: # 閲嶅鎻愪氦 repeat-submit: @@ -214,6 +212,22 @@ - name: 3.浠g爜鐢熸垚妯″潡 basePackage: com.ruoyi.generator +knife4j: + # 鏄惁寮�鍚疜nife4j澧炲己妯″紡 + enable: true + # 鏄惁寮�鍚敓浜х幆澧冧繚鎶ょ瓥鐣� + production: @knife4j.production@ + # 鍓嶇Ui鐨勪釜鎬у寲閰嶇疆灞炴�� + setting: + # 榛樿璇█ + language: zh-CN + # 鏄惁鏄剧ずFooter + enableFooter: false + # 鏄惁寮�鍚姩鎬佸弬鏁拌皟璇曞姛鑳� + enableDynamicParameter: true + # 鏄惁鍦ㄦ瘡涓狣ebug璋冭瘯鏍忓悗鏄剧ず鍒锋柊鍙橀噺鎸夐挳 + enableReloadCacheParameter: true + # 闃叉XSS鏀诲嚮 xss: # 杩囨护寮�鍏� -- Gitblit v1.9.3