✨ 注册BFI模块依赖并同步Nacos配置样例

This commit is contained in:
刘泉佳
2026-09-15 17:12:19 +08:00
parent ad8bea1696
commit 1258bf0a81
5 changed files with 39 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@
<module>blade-wps-api</module>
<module>blade-ocr-api</module>
<module>blade-track-api</module>
<module>blade-bfi-api</module>
</modules>
<packaging>pom</packaging>
<description>BladeX 第三方API集合</description>
+9
View File
@@ -120,6 +120,15 @@ thirdParty:
downloadFileUrl: ${MK_DOWNLOAD_FILE_URL:/openapi/sys-attach/fileStream/download}
queryApprovalListUrl: ${MK_QUERY_APPROVAL_LIST_URL:/openapi/lbpm-approval/lbpmApproval/portal/list}
queryProcessListUrl: ${MK_QUERY_PROCESS_LIST_URL:/openapi/sys-lbpm/sysLbpmProcess/openSupport/list}
bfi:
# 业财融合(BFI)应用及接口配置,敏感值通过环境变量注入
baseUrl: ${BFI_BASE_URL:http://172.16.203.134:8000/gwzh/BFI}
authorization: ${BFI_AUTHORIZATION:}
clientId: ${BFI_CLIENT_ID:}
clientSecret: ${BFI_CLIENT_SECRET:}
username: ${BFI_USERNAME:}
accountId: ${BFI_ACCOUNT_ID:}
language: ${BFI_LANGUAGE:zh_CN}
#百度OCR配置,API Key和Secret Key请通过环境变量注入
baidu:
+9
View File
@@ -92,6 +92,15 @@ thirdParty:
downloadFileUrl: ${MK_DOWNLOAD_FILE_URL:/openapi/sys-attach/fileStream/download}
queryApprovalListUrl: ${MK_QUERY_APPROVAL_LIST_URL:/openapi/lbpm-approval/lbpmApproval/portal/list}
queryProcessListUrl: ${MK_QUERY_PROCESS_LIST_URL:/openapi/sys-lbpm/sysLbpmProcess/openSupport/list}
bfi:
# 业财融合(BFI)应用及接口配置,敏感值通过环境变量注入
baseUrl: ${BFI_BASE_URL:http://172.16.203.134:8000/gwzh/BFI}
authorization: ${BFI_AUTHORIZATION:}
clientId: ${BFI_CLIENT_ID:}
clientSecret: ${BFI_CLIENT_SECRET:}
username: ${BFI_USERNAME:}
accountId: ${BFI_ACCOUNT_ID:}
language: ${BFI_LANGUAGE:zh_CN}
#百度OCR配置,API Key和Secret Key请通过环境变量注入
baidu:
+15
View File
@@ -17,3 +17,18 @@ thirdParty:
mk:
# MK开放接口地址
baseUrl: ${MK_BASE_URL:http://127.0.0.1:8080}
bfi:
# 业财融合(BFI)开放接口地址
baseUrl: ${BFI_BASE_URL:http://172.16.203.134:8000/gwzh/BFI}
# 网关认证请求头 Authorization 的值
authorization: ${BFI_AUTHORIZATION:}
# 第三方应用系统编码,即 appId
clientId: ${BFI_CLIENT_ID:}
# 第三方应用AccessToken认证密钥,即 appSecret,敏感值通过环境变量注入
clientSecret: ${BFI_CLIENT_SECRET:}
# 访问用户名
username: ${BFI_USERNAME:}
# 数据中心ID
accountId: ${BFI_ACCOUNT_ID:}
# 语言字串,默认 zh_CN
language: ${BFI_LANGUAGE:zh_CN}
+5
View File
@@ -149,6 +149,11 @@
<artifactId>blade-track-api</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.springblade</groupId>
<artifactId>blade-bfi-api</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.springblade</groupId>