修改配置以支持若依工程的快速接入

Signed-off-by: orange-form <3510245832@qq.com>
This commit is contained in:
orange-form
2024-07-14 03:14:04 +00:00
committed by Gitee
parent 9734f91fed
commit 8295a6a167

View File

@@ -70,12 +70,10 @@ application:
third-party: third-party:
# 第三方系统接入的用户鉴权配置。 # 第三方系统接入的用户鉴权配置。
auth: auth:
- appCode: orange-forms-default - appCode: ruoyi
# 访问第三方系统接口的URL前缀橙单会根据功能添加接口路径的其余部分 # 访问第三方系统接口的URL前缀橙单会根据功能添加接口路径的其余部分
# 比如获取用户Token的接口 http://localhost:8083/orangePluginTest/getTokenData # 比如获取用户Token的接口 http://localhost:8083/orangePluginTest/getTokenData
baseUrl: http://localhost:8083/orangePlugin baseUrl: http://localhost:8083/orangePlugin
# 第三方应用鉴权的HTTP请求令牌头的KEY。
tokenHeaderKey: Authorization
# 第三方返回的用户Token数据的缓存过期时长单位秒。 # 第三方返回的用户Token数据的缓存过期时长单位秒。
# 如果为0则不缓存每次涉及第三方的请求都会发出http请求交由第三方验证这样对系统性能会有影响。 # 如果为0则不缓存每次涉及第三方的请求都会发出http请求交由第三方验证这样对系统性能会有影响。
tokenExpiredSeconds: 60 tokenExpiredSeconds: 60
@@ -89,11 +87,11 @@ common-ext:
# 这里可以配置多个第三方应用这里的应用数量通常会和上面third-party.auth的配置数量一致。 # 这里可以配置多个第三方应用这里的应用数量通常会和上面third-party.auth的配置数量一致。
apps: apps:
# 应用唯一编码,尽量不要使用中文。 # 应用唯一编码,尽量不要使用中文。
- appCode: orange-forms-default - appCode: ruoyi
# 业务组件的数据源配置。 # 业务组件的数据源配置。
bizWidgetDatasources: bizWidgetDatasources:
# 组件的类型,多个类型之间可以逗号分隔。 # 组件的类型,多个类型之间可以逗号分隔。
- types: upms_user,upms_dept - types: upms_user,upms_dept,upms_role,upms_post,upms_dept_post
# 组件获取列表数据的接口地址。 # 组件获取列表数据的接口地址。
listUrl: http://localhost:8083/orangePlugin/listBizWidgetData listUrl: http://localhost:8083/orangePlugin/listBizWidgetData
# 组件获取详情数据的接口地址。 # 组件获取详情数据的接口地址。