From 9230c17bf226582a0d1637b92b6504e20e8c6af5 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 23 七月 2024 16:47:52 +0800
Subject: [PATCH] 人脸阈值检测,检测代码优化
---
ycl-server/src/main/resources/application.yml | 24 ++++++++----------------
1 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/ycl-server/src/main/resources/application.yml b/ycl-server/src/main/resources/application.yml
index 075ca61..a3822bf 100644
--- a/ycl-server/src/main/resources/application.yml
+++ b/ycl-server/src/main/resources/application.yml
@@ -1,17 +1,4 @@
-# 椤圭洰鐩稿叧閰嶇疆
-platform:
- # 鍚嶇О
- name: zgyw
- # 鐗堟湰
- version: 1.0.0
- # 鐗堟潈骞翠唤
- copyrightYear: 2024
- # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/zgyw/uploadPath锛孡inux閰嶇疆 /home/zgyw/uploadPath锛�
- profile: D:/zgyw/uploadPath
- # 鑾峰彇ip鍦板潃寮�鍏�
- addressEnabled: false
- # 楠岃瘉鐮佺被鍨� math 鏁板瓧璁$畻 char 瀛楃楠岃瘉
- captchaType: math
+
spring:
# 璧勬簮淇℃伅
@@ -82,7 +69,6 @@
level:
org.springframework: warn
com.ycl : debug
- config: classpath:logback-plus.xml
# security閰嶇疆
security:
@@ -109,7 +95,7 @@
user:
password:
# 瀵嗙爜鏈�澶ч敊璇鏁�
- maxRetryCount: 5
+ maxRetryCount: 20
# 瀵嗙爜閿佸畾鏃堕棿锛堥粯璁�10鍒嗛挓锛�
lockTime: 10
@@ -121,3 +107,9 @@
excludes: /system/notice
# 鍖归厤閾炬帴
urlPatterns: /system/*,/monitor/*,/tool/*
+
+# 鎷夊彇鏁版嵁璇锋眰閰嶇疆
+request:
+ retry: 4 # 鏈�澶ч噸璇曟鏁�
+ youYunDomain: 123.123.123.5 # 浼樹簯鍦板潃
+ haiKangDomain: 123.123.123.1 # 娴峰悍鍦板潃
--
Gitblit v1.8.0