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 | 73 ++++++++++-------------------------- 1 files changed, 20 insertions(+), 53 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 360c201..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: # 杩囨护寮�鍏� @@ -241,22 +255,6 @@ # DISCARD_POLICY 涓㈠純 # ABORT_POLICY 涓 rejectedExecutionHandler: CALLER_RUNS_POLICY - -# feign 鐩稿叧閰嶇疆 -feign: - # 涓嶆敮鎸佸鍖�, 濡傛湁闇�瑕佸彲鍦ㄦ敞瑙i厤缃� 鎴� 鎻愬崌鎵寘绛夌骇 - # 渚嬪 com.**.**.feign - package: com.ruoyi.**.feign - # 寮�鍚帇缂� - compression: - request: - enabled: true - response: - enabled: true - okhttp: - enabled: true - circuitbreaker: - enabled: true --- # redisson 缂撳瓨閰嶇疆 redisson: @@ -293,34 +291,3 @@ endpoint: logfile: external-file: ./logs/sys-console.log - ---- # 瀹氭椂浠诲姟閰嶇疆 -spring: - quartz: - scheduler-name: RuoyiScheduler - startup-delay: 1s - overwrite-existing-jobs: true - auto-startup: true - job-store-type: jdbc - properties: - org: - quartz: - # Scheduler 鐩稿叧閰嶇疆 - scheduler: - instanceName: RuoyiScheduler - instanceId: AUTO - # 绾跨▼姹犵浉鍏抽厤缃� - threadPool: - class: org.quartz.simpl.SimpleThreadPool - threadCount: 20 - threadPriority: 5 - # JobStore 闆嗙兢閰嶇疆 - jobStore: - class: org.quartz.impl.jdbcjobstore.JobStoreTX - isClustered: true - clusterCheckinInterval: 15000 - txIsolationLevelSerializable: true - misfireThreshold: 60000 - tablePrefix: QRTZ_ - # sqlserver 鍚敤 - # selectWithLockSQL: SELECT * FROM {0}LOCKS UPDLOCK WHERE LOCK_NAME = ? -- Gitblit v1.9.3