From 34981c30a78e8bbd7791131059a9210f9928b62c Mon Sep 17 00:00:00 2001
From: 刘光辉 <347230014@qq.com>
Date: 星期四, 17 九月 2026 09:24:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into master
---
config/shared/system-config.yaml | 161 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 161 insertions(+), 0 deletions(-)
diff --git a/config/shared/system-config.yaml b/config/shared/system-config.yaml
new file mode 100644
index 0000000..5367206
--- /dev/null
+++ b/config/shared/system-config.yaml
@@ -0,0 +1,161 @@
+config:
+ # ===============鍩熷悕閰嶇疆==================
+ #鍚庣鍩熷悕甯︾鍙�(娑堟伅璺宠浆銆佺涓夋柟鐧诲綍鍥炶皟銆佸伐浣滄祦琛ㄥ崟鏁版嵁娴佽浆浣跨敤)
+ ApiDomain: ${JNPF_API_DOMAIN:http://cx-infra:30000}
+ #鍓嶇鍩熷悕甯︾鍙�(娑堟伅璺宠浆浣跨敤)
+ FrontDomain: ${JNPF_FRONT_DOMAIN:http://localhost/}
+ #H5鍩熷悕甯︾鍙�(娑堟伅璺宠浆浣跨敤)
+ AppDomain: ${JNPF_APP_DOMAIN:http://localhost/}
+ #宸ヤ綔娴佸煙鍚�(宸ヤ綔娴佷娇鐢�)
+ FlowDomain: ${JNPF_FLOW_DOMAIN:http://cx-flow-engine:31000}
+
+ # ===============澶氱鎴烽厤缃�==================
+ MultiTenancy: false
+ MultiTenancyUrl: http://127.0.0.1:30006/api/tenant/DbName/
+
+ # ===============闈欐�佽祫婧愮洰褰曟槧灏�==================
+ WebAnnexFilePath: WebAnnexFile
+ DataBackupFilePath: DataBackupFile
+ TemporaryFilePath: TemporaryFile
+ SystemFilePath: SystemFile
+ TemplateFilePath: TemplateFile
+ EmailFilePath: EmailFile
+ DocumentFilePath: DocumentFile
+ DocumentPreviewPath: DocumentPreview
+ UserAvatarFilePath: UserAvatar
+ IMContentFilePath: IMContentFile
+ MPMaterialFilePath: MPMaterial
+ TemplateCodePath: TemplateCode
+ BiVisualPath: BiVisualPath
+
+ # ===============鍔熻兘鏍煎紡闄愬埗==================
+ MPUploadFileType: bmp,png,jpeg,jpg,gif,mp3,wma,wav,amr,mp4
+ WeChatUploadFileType: jpg,png,doc,docx,ppt,pptx,xls,xlsx,pdf,txt,rar,zip,csv,amr,mp4
+ AllowUploadImageType: jpg,gif,png,bmp,jpeg,tiff,psd,swf,svg,pcx,dxf,wmf,emf,lic,eps,tga
+ AllowUploadFileType: jpg,gif,png,bmp,jpeg,doc,docx,ppt,pptx,xls,xlsx,pdf,txt,rar,zip,csv
+
+ AllowPreviewFileType: doc,docx,xls,xlsx,ppt,pptx,pdf,txt #鍏佽棰勮鏂囦欢绫诲瀷
+ PreviewType: kkfile #鏂囦欢棰勮鏂瑰紡 锛�1.yozo 2.kkfile锛夐粯璁や娇鐢╧k
+ kkFileUrl: http://localhost:8012/ #kk鏂囦欢棰勮鏈嶅姟鍦板潃锛堟湰鍦伴渶鑷鍚姩 kkFileView锛�
+
+ # 浠g爜鐢熸垚鍣ㄥ懡鍚嶇┖闂�
+ CodeAreasName: example
+ WebDirectoryPath:
+
+ # ===============绯荤粺閿欒閭欢鎶ュ憡鍙嶉鐩稿叧==================
+ SoftName: JNPF.JAVA
+ SoftFullName: JNPF杞欢寮�鍙戝钩鍙�
+ AppVersion: V6.0.0
+ AppUpdateContent: ;
+
+ # =====================================
+ RecordLog: true
+ ErrorReport: false
+ ErrorReportTo: surrpot@yinmaisoft.com
+
+ IgexinEnabled: true
+ IgexinAppid: HLFY9T2d1z7MySY8hwGwh4
+ IgexinAppkey: 6Uiduugq648YDChhCjAt59
+ IgexinMastersecret: pEyQm156SJ9iS7PbyjLCZ6
+ SoftVersion: V6.0.0
+ AccessKeyId: LTAI4Fu4iJnKmDu5QG78ibfa
+ AccessKeySecret: pMSYlgOz3Tm6sYqWA8sKiyxgNY97J7
+
+ # ===============璺ㄥ煙閰嶇疆==================
+ Origins: http://127.0.0.1
+ Methods: GET,HEAD,POST,PUT,DELETE,OPTIONS
+
+ # =========姘镐腑閰嶇疆鏂囦欢=========
+ YozoAppId: yozoAgR41jgC0062
+ YozoAppKey: fc3134a9ba8bc6f4c69d635f9adf
+ YozoCloudDomain: //dmc.yozocloud.cn
+ YozoDomain: //dcsapi.com/
+ YozoDomainKey: 57462250284462899344489
+ YozoEditDomain: //eic.yozocloud.cn
+
+ # ==================== ApacheShardingSphere 閰嶇疆寮�鍏� =====================
+ sharding-sphere-enabled: false
+
+ #===================== 绯荤粺鍔熻兘閰嶇疆 =====================
+ #鏄惁寮�鍚�昏緫鍒犻櫎
+ EnableLogicDelete: true
+ # 绉�
+ CodeCertificateTimeout: 180
+ #妫�鏌ヤ笂浼犵殑PDF鏂囦欢瀹夊叏
+ check-file-pdf: false
+ #鏄惁寮�鍚韩浠界鐞嗗姛鑳�
+ standingSwitch: true
+
+spring:
+ messages:
+ # 鍥介檯鍖栬瑷�鏂囦欢鍚嶉厤缃�, 閰嶅悎褰撳墠鍛藉悕绌洪棿涓嬬殑瀵瑰簲璇█鏂囦欢 message_zh_CN.properties 绛夌瓑
+ basename: message
+ mvc:
+ #csrf-origins: ${config.FrontDomain}
+ cors:
+ # 鍏佽璺ㄥ煙鐨勫煙鍚�
+ #allowed-origins: ${config.FrontDomain}
+ # 鍏佽璺ㄥ煙鐨勫煙鍚嶆鍒欏尮閰� 濡傞渶鍏ㄩ儴鍖归厤璁剧疆涓� '**', 鍥犱负鍖呭惈鍑嵁鐨勮姹備笉鍏佽鐩存帴鍐�* 杩欎釜鍐欐硶鍙互鐩存帴杩斿洖褰撳墠璇锋眰鍩熷悕
+ allowed-origin-patterns: '**'
+ # 鍏佽璺ㄥ煙鐨勮姹傛柟娉� GET, POST, PUT, DELETE
+ allowed-methods: "*"
+ # 鍏佽璺ㄥ煙鐨勫ご閮ㄤ俊鎭� Content-Type, Authorization
+ allowed-headers: "*"
+ options-max-age: 18000
+ headers:
+ server-name: ''
+ x-frame-options: sameorigin
+ x-content-type-options: disabled
+ x-xss-protection: enabled_mode_block
+
+security:
+ # AES鍔犲瘑绉橀挜
+ security-key: EY8WePvjM5GGwQzn
+ # 鏄惁寮�鍚帴鍙i壌鏉�
+ enable-pre-auth: true
+ # 鎺ュ彛鍔犲瘑
+ enable-rest-encrypt: true
+ # 璇锋眰鏉ユ簮閴存潈
+ enable-inner-auth: true
+
+# 浜嬩欢閰嶇疆
+event:
+ # 浜嬩欢鎬荤嚎瀹炵幇锛歭ocal锛堣繘绋嬪唴锛�/ redis锛坧ub/sub锛�/ mq锛圫pring Cloud Stream binder锛夈��
+ #
+ # 2026-08-10 鐢� mq 鍒� redis锛堝幓 RocketMQ锛岀渷 1.14 GiB / 2 瀹瑰櫒 / 2 JVM锛夈��
+ # 杩欐槸 JNPF 瀹樻柟鐨勫彲鎻掓嫈鐐癸紝涓嶆槸鑷爺鏀归�狅細
+ # redis 妗� 鈫� jnpf-common-event 鐨� ProjectEventRedisSender + ProjectEventRedisMessageHandler
+ # mq 妗� 鈫� jnpf-common-mq 鐨� ProjectEventMQSender + defMsgToptic/ssoEventReceiver
+ # 涓ょ粍 @Bean 鐨� @ConditionalOnProperty(prefix=event, name=event-publish-type) 瀹屽叏瀵圭О锛�
+ # 涓�**鏃� matchIfMissing**鈥斺�旀湰椤瑰繀椤绘樉寮忚鍊硷紝鐣欑┖鍒欎袱缁勯兘涓嶆敞鍐屻�佷簨浠舵�荤嚎鏁翠釜鍝戞帀銆�
+ #
+ # 涓氬姟浠g爜闆舵敼鍔細鍙戝竷鏂逛竴寰嬭蛋 PublishEventUtil.publish + ProjectEventSender 鎺ュ彛锛�
+ # 娑堣垂鏂逛竴寰� @ProjectEventListener锛屼笌鍏蜂綋瀹炵幇瑙h�︺��
+ event-publish-type: redis
+ # Redis 鐩戝惉妯″紡锛歝urrent / all銆�
+ # 馃敶 **瀹冧笉鏄殧绂诲紑鍏�**锛�2026-08-10 瀛楄妭鐮佸疄鏌ワ紝鍙嶇洿瑙夛紝鍒収瀛楅潰鐞嗚В锛夛細
+ # all 鈫� channel = "myevent_" + <浜嬩欢channel>
+ # current 鈫� channel = "lock:" + "myevent_" + <浜嬩欢channel>
+ # 锛堝墠缂�鍙栬嚜 RedisConst.getRedisLock4JPrefix()锛屾槸**纭紪鐮佸父閲� "lock:"**锛�
+ # 涓嶅惈瀹炰緥/绉熸埛/搴旂敤鏍囪瘑锛�
+ # 鍙戦�佺 ProjectEventRedisSender.send 涓庤闃呯 ProjectEventRedisMessageHandler 鏋勯�犲櫒
+ # 鐢ㄥ悓涓�涓�兼帹瀵煎悓涓�鍓嶇紑锛屾晠涓ゆ。閮借嚜娲斤紱宸埆浠呮槸 channel 鍚嶅涓嶅 "lock:"銆�
+ # 鐪熸鐨勯殧绂婚潬銆屾瘡瀹㈡埛涓�涓� Redis 瀹炰緥銆嶁�斺�旇繛鍚屼竴瀹炰緥鐨勫鍙板紑鍙戞満浼氫簰鐩告敹鍒颁簨浠�
+ # 锛圧edis pub/sub 杩樻槸**璺� db 鍏ㄥ眬**鐨勶紝鍒� database 涔熼殧绂讳笉浜嗭級銆�
+ redis-publish-type: current
+
+# 灏嗛厤缃缃埌绯荤粺灞炴�т腑
+conf2system:
+ # sentinel鏃ュ織鐩綍
+ csp.sentinel.log.dir: log/${spring.application.name}/sentinel
+ # sentinel鏃ュ織绛夌骇 LOGGING鏃ュ織绛夌骇, ALL, INFO, WARNING, SEVERE, OFF
+ csp.sentinel.log.level: "OFF"
+ # 锛堝師 rocketmq.log.level 宸查殢 RocketMQ 浜� 2026-08-10 绉婚櫎锛岃琛ヤ竵 #10锛�
+
+# 鍦ㄧ嚎琛ㄥ崟銆佹祦绋嬭〃鍗曞瓧娈垫潈闄愯眮鍏嶃�備富琛ㄥ~鍐� vModel锛屽瓙琛ㄥ~鍐� parentVModel-vModel銆�
+# 閰嶇疆鍏ㄥ眬鐢熸晥锛涜繖閲屽彧璺宠繃瀛楁鏉冮檺妫�鏌ワ紝鍏朵粬琛ㄥ崟鏍¢獙鍜岀郴缁熷瓧娈典繚鎶や粛鎸夊師閫昏緫鎵ц銆�
+jnpf:
+ visualdev:
+ permission:
+ exempt-fields:
+ - biz_sign
--
Gitblit v1.8.0