From c83101eb62f5d4906b9c01ceea6b21a37f9e84d8 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 18 十一月 2025 09:24:53 +0800
Subject: [PATCH] bug修复
---
ycl-server/src/main/resources/application-dev.yml | 101 ++++++++++++++++++++++++++++++++------------------
1 files changed, 65 insertions(+), 36 deletions(-)
diff --git a/ycl-server/src/main/resources/application-dev.yml b/ycl-server/src/main/resources/application-dev.yml
index 63fd3e8..0d3752e 100644
--- a/ycl-server/src/main/resources/application-dev.yml
+++ b/ycl-server/src/main/resources/application-dev.yml
@@ -1,23 +1,7 @@
-# 椤圭洰鐩稿叧閰嶇疆
-platform:
- # 鍚嶇О
- name: zgyw
- # 鐗堟湰
- version: 1.0.0
- # 鐗堟潈骞翠唤
- copyrightYear: 2024
- # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/zgyw/uploadPath锛孡inux閰嶇疆 /home/zgyw/uploadPath锛�
- profile: E:/ycl/zgyw/uploadPath
- # 鑾峰彇ip鍦板潃寮�鍏�
- addressEnabled: false
- # 楠岃瘉鐮佺被鍨� math 鏁板瓧璁$畻 char 瀛楃楠岃瘉
- captchaType: math
-
-
# 寮�鍙戠幆澧冮厤缃�
server:
# 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080
- port: 8080
+ port: 8085
servlet:
# 搴旂敤鐨勮闂矾寰�
context-path: /
@@ -33,12 +17,32 @@
min-spare: 100
+
+# 椤圭洰鐩稿叧閰嶇疆
+platform:
+ # 鍚嶇О
+ name: zgyw
+ # 鐗堟湰
+ version: 1.0.0
+ # 鐗堟潈骞翠唤
+ copyrightYear: 2024
+ # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/zgyw/uploadPath锛孡inux閰嶇疆 /home/zgyw/uploadPath锛�
+ profile: /home/zgyw/uploadPath
+ # 鑾峰彇ip鍦板潃寮�鍏�
+ addressEnabled: false
+ # 楠岃瘉鐮佺被鍨� math 鏁板瓧璁$畻 char 瀛楃楠岃瘉
+ captchaType: math
+
+
spring:
# 鏁版嵁婧愰厤缃�
datasource:
- url: jdbc:mysql://101.35.247.188:3306/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8
+# url: jdbc:mysql://101.35.247.188:3306/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&allowPublicKeyRetrieval=true
+# username: root
+# password: ycl@202466
+ url: jdbc:mysql://localhost:3306/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&allowPublicKeyRetrieval=true
username: root
- password: ycl@202466
+ password: 123456
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
@@ -76,12 +80,16 @@
spring.data:
redis:
# 鍦板潃
- host: 42.193.1.25
+# host: 42.193.1.25
+ host: 127.0.0.1
# 绔彛锛岄粯璁や负6379
port: 6379
- password: ycl2018
+# password: ycl2018
+ password: 123456
# 鏁版嵁搴撶储寮�
database: 0
+ # 瀵嗙爜(濡傛病鏈夊瘑鐮佽娉ㄩ噴鎺�)
+ # password:
# 杩炴帴瓒呮椂鏃堕棿
timeout: 10s
# 鏄惁寮�鍚痵sl
@@ -109,33 +117,54 @@
# 鍙戝竷鍜岃闃呰繛鎺ユ睜澶у皬
subscriptionConnectionPoolSize: 50
+
# Swagger閰嶇疆
swagger:
# 鏄惁寮�鍚痵wagger
- enabled: true
+ enabled: false
# 璇锋眰鍓嶇紑
- pathMapping: /dev-api
+ pathMapping: /prod-api
# MongoDB閰嶇疆
spring:
data:
mongodb:
- host: 42.193.1.25
- database: zgyw
- port: 27017
- username: admin
- password: ycl@202466
-
+# uri: mongodb://root1:yunwei%402024@192.168.3.88:27017/zgyw?authSource=admin
+ uri: mongodb://localhost:27017/zgyw
+# auto-index-creation: true
# 鎷夊彇鏁版嵁璇锋眰閰嶇疆
request:
retry: 4 # 鏈�澶ч噸璇曟鏁�
- youYunDomain: 123.123.123.5 # 浼樹簯鍦板潃
- haiKangDomain: 123.123.123.1 # 娴峰悍鍦板潃
+ youYunDomain: http://51.92.65.56 # 浼樹簯鍦板潃
+ haiKangDomain: 51.92.65.48 # 娴峰悍鍦板潃
youYun:
- tenantId: 11
- email: 11
- passwd: 11
- apikey: 11
- accesskey: 11
+ tenantId: e10adc3949ba59abbe56e057f20f88dd
+ email: yunwei
+ passwd: Yesc@123
+ apikey: 72fcfd6825304f7fa0453134de620f3a
+ accesskey: fc9503a521544e76a8e69b912a2f177bc6362b19
+
+HK:
+ userName: admin
+ password: zg@2024dx
+ host: 51.92.65.49
+ appKey: 29555942
+ appSecret: t9U7tCplCyYHzQPPL7cH
+ carCode: gb
+ faceCode: gb
+ carProvinceCode: 2_car
+ faceProvinceCode: 3_face
+
+DH:
+ userName: admin
+ password: zg@2024dx
+
+YS:
+ userName: admin
+ password: zg2024dx
+
+# gb281瑙嗛缃戝叧鍦板潃锛岀敤浜庤幏鍙杛tsp鏍煎紡鐨勬祦鍦板潃
+rtsp:
+ server: http://192.168.3.88:7788
--
Gitblit v1.8.0