From 5d367b7bf8a61e1a586db90f95706e7626926ce7 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 11 八月 2022 12:40:21 +0800 Subject: [PATCH] update 优化 getLoginId 增加必要参数空校验 --- ruoyi-admin/src/main/resources/application.yml | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 27482ac..4c54de5 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -53,6 +53,14 @@ org.springframework: warn config: classpath:logback.xml +# 鐢ㄦ埛閰嶇疆 +user: + password: + # 瀵嗙爜鏈�澶ч敊璇鏁� + maxRetryCount: 5 + # 瀵嗙爜閿佸畾鏃堕棿锛堥粯璁�10鍒嗛挓锛� + lockTime: 10 + # Spring閰嶇疆 spring: application: @@ -121,8 +129,7 @@ - /**/*.js # swagger 鏂囨。閰嶇疆 - /favicon.ico - - /doc.html - - /swagger-ui/** + - /*/api-docs - /*/api-docs/** # druid 鐩戞帶閰嶇疆 - /druid/** @@ -199,11 +206,6 @@ name: ${sa-token.token-name} springdoc: - swagger-ui: - # 淇敼Swagger UI璺緞 - path: /doc.html - # 鎸佷箙鍖栬璇佹暟鎹� - persistAuthorization: true #杩欓噷瀹氫箟浜嗕袱涓垎缁勶紝鍙畾涔夊涓紝涔熷彲浠ヤ笉瀹氫箟 group-configs: - group: 1.婕旂ず妯″潡 @@ -258,9 +260,9 @@ endpoints: web: exposure: - # 闇�瑕佸紑鏀剧殑绔偣銆傞粯璁ゅ�煎彧鎵撳紑 health 鍜� info 涓や釜绔偣銆傞�氳繃璁剧疆 * 锛屽彲浠ュ紑鏀炬墍鏈夌鐐广�� - # 鐢熶骇鐜涓嶅缓璁斁寮�鎵�鏈� 鏍规嵁椤圭洰闇�姹傛斁寮�鍗冲彲 - include: @endpoints.include@ + include: '*' endpoint: + health: + show-details: ALWAYS logfile: external-file: ./logs/sys-console.log -- Gitblit v1.9.3