From 42295ef2ac0a5e78674cf24b62d6834138f0ffdc Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 29 十一月 2021 13:56:25 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into satoken --- ruoyi-admin/src/main/resources/application.yml | 65 +++++++++----------------------- 1 files changed, 18 insertions(+), 47 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 4a0aebc..dbd182f 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: true captcha: # 椤甸潰 <鍙傛暟璁剧疆> 鍙紑鍚叧闂� 楠岃瘉鐮佹牎楠� @@ -234,6 +236,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: # 杩囨护寮�鍏� @@ -261,22 +279,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: @@ -313,34 +315,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