From 5e32b5f0bf07fbc8018e90088f89df81e9c8c753 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 18 五月 2021 11:38:16 +0800
Subject: [PATCH] update 配置统一提取为 properties 配置类

---
 ruoyi-admin/src/main/resources/application.yml |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 4f6d876..d072872 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -15,13 +15,13 @@
 
 captcha:
   # 楠岃瘉鐮佺被鍨� math 鏁扮粍璁$畻 char 瀛楃楠岃瘉
-  captchaType: math
+  type: math
   # line 绾挎骞叉壈 circle 鍦嗗湀骞叉壈 shear 鎵洸骞叉壈
-  captchaCategory: circle
+  category: circle
   # 鏁板瓧楠岃瘉鐮佷綅鏁�
-  captchaNumberLength: 1
+  numberLength: 1
   # 瀛楃楠岃瘉鐮侀暱搴�
-  captchaCharLength: 4
+  charLength: 4
 
 # 寮�鍙戠幆澧冮厤缃�
 server:
@@ -187,8 +187,6 @@
 swagger:
   # 鏄惁寮�鍚痵wagger
   enabled: true
-  # 璇锋眰鍓嶇紑
-  pathMapping: /dev-api
   # 鏍囬
   title: '鏍囬锛歊uoYi-Vue-Plus鍚庡彴绠$悊绯荤粺_鎺ュ彛鏂囨。'
   # 鎻忚堪
@@ -206,7 +204,7 @@
   urlPatterns: /system/*,/monitor/*,/tool/*
 
 # 鍏ㄥ眬绾跨▼姹犵浉鍏抽厤缃�
-threadPoolConfig:
+thread-pool:
   # 鏄惁寮�鍚嚎绋嬫睜
   enabled: false
   # 鏍稿績绾跨▼姹犲ぇ灏�

--
Gitblit v1.9.3