From 651867055c3fbb432ce483a7abc626195cefa518 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期五, 28 一月 2022 11:03:31 +0800
Subject: [PATCH] update 修改用户注册报未登录警告

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

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index dbd182f..8c0b6e4 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -5,13 +5,13 @@
   # 鐗堟湰
   version: ${ruoyi-vue-plus.version}
   # 鐗堟潈骞翠唤
-  copyrightYear: 2021
+  copyrightYear: 2022
   # 瀹炰緥婕旂ず寮�鍏�
   demoEnabled: true
   # 鑾峰彇ip鍦板潃寮�鍏�
   addressEnabled: true
   # 缂撳瓨鎳掑姞杞�
-  cacheLazy: true
+  cacheLazy: false
 
 captcha:
   # 椤甸潰 <鍙傛暟璁剧疆> 鍙紑鍚叧闂� 楠岃瘉鐮佹牎楠�
@@ -53,10 +53,6 @@
     org.springframework: warn
   config: classpath:logback.xml
 
-# tlog 鍏ㄥ眬璁块棶鎬ц兘鎷︽埅
-tlog:
-  enable-invoke-time-print: true
-
 # Spring閰嶇疆
 spring:
   application:
@@ -83,6 +79,10 @@
   thymeleaf:
     # 灏嗙郴缁熸ā鏉挎斁缃埌鏈�鍓嶉潰 鍚﹀垯浼氫笌 springboot-admin 椤甸潰鍐茬獊
     template-resolver-order: 1
+  mvc:
+    pathmatch:
+      # 閫傞厤 boot 2.6 璺敱涓� springfox 鍏煎
+      matching-strategy: ANT_PATH_MATCHER
   jackson:
     # 鏃ユ湡鏍煎紡鍖�
     date-format: yyyy-MM-dd HH:mm:ss
@@ -142,6 +142,8 @@
     - /*/api-docs
     # druid 鐩戞帶閰嶇疆
     - /druid/**
+  # 鐢ㄦ埛鏀捐
+  permit-all:
     # actuator 鐩戞帶閰嶇疆
     - /actuator
     - /actuator/**
@@ -241,6 +243,10 @@
   enable: true
   # 鏄惁寮�鍚敓浜х幆澧冧繚鎶ょ瓥鐣�
   production: @knife4j.production@
+  basic:
+    enable: true
+    username: ruoyi
+    password: 123456
   # 鍓嶇Ui鐨勪釜鎬у寲閰嶇疆灞炴��
   setting:
     # 榛樿璇█

--
Gitblit v1.9.3