From 6ee30852606dc7d28a6838ac0d837714d8fc9aab Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期三, 28 十二月 2022 15:03:00 +0800
Subject: [PATCH] add 增加 GET 请求提交日期参数 默认格式化配置

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

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 80f3bf3..77c68e4 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -83,6 +83,9 @@
     restart:
       # 鐑儴缃插紑鍏�
       enabled: true
+  mvc:
+    format:
+      date-time: yyyy-MM-dd HH:mm:ss
   jackson:
     # 鏃ユ湡鏍煎紡鍖�
     date-format: yyyy-MM-dd HH:mm:ss
@@ -129,6 +132,10 @@
     - /favicon.ico
     - /*/api-docs
     - /*/api-docs/**
+    - /swagger-ui/**
+    - /webjars/**
+    - /swagger-ui.html
+    - /doc.html
     # actuator 鐩戞帶閰嶇疆
     - /actuator
     - /actuator/**
@@ -202,6 +209,9 @@
         name: ${sa-token.token-name}
 
 springdoc:
+  swagger-ui:
+    # 鎸佷箙鍖栬璇佹暟鎹�
+    persistAuthorization: true
   #杩欓噷瀹氫箟浜嗕袱涓垎缁勶紝鍙畾涔夊涓紝涔熷彲浠ヤ笉瀹氫箟
   group-configs:
     - group: 1.婕旂ず妯″潡

--
Gitblit v1.9.3