You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
2.5 KiB
77 lines
2.5 KiB
|
1 week ago
|
server:
|
||
|
|
port: 8082
|
||
|
|
|
||
|
|
application:
|
||
|
|
# Jwt令牌加密的签名值。该值的长度要超过20个字符(过短会报错)。
|
||
|
|
tokenSigningKey: apelet_saas-signing-key-signing-key
|
||
|
|
# Jwt令牌在Http Header中的键名称。
|
||
|
|
tokenHeaderKey: Authorization
|
||
|
|
# Jwt令牌刷新后在Http Header中的键名称。
|
||
|
|
refreshedTokenHeaderKey: RefreshedToken
|
||
|
|
# Jwt令牌过期时间(毫秒)。
|
||
|
|
expiration: 72000000
|
||
|
|
# 跨域的IP(http://192.168.10.10:8086)白名单列表,多个IP之间逗号分隔(* 表示全部信任,空白表示禁用跨域信任)。
|
||
|
|
credentialIpList: "*"
|
||
|
|
|
||
|
|
# 这里仅仅是一个第三方配置的示例,如果没有接入斯三方系统,
|
||
|
|
# 这里的配置项也不会影响到系统的行为,如果觉得多余,也可以手动删除。
|
||
|
|
third-party:
|
||
|
|
# 第三方系统接入的用户鉴权配置。
|
||
|
|
auth:
|
||
|
|
- appCode: orange-forms-default
|
||
|
|
# 访问第三方系统接口的URL前缀,橙单会根据功能添加接口路径的其余部分,
|
||
|
|
# 比如获取用户Token的接口 http://localhost:8083/orangePluginTest/getTokenData
|
||
|
|
baseUrl: http://localhost:8083/orangePlugin
|
||
|
|
# 第三方返回的用户Token数据的缓存过期时长,单位秒。
|
||
|
|
# 如果为0,则不缓存,每次涉及第三方的请求,都会发出http请求,交由第三方验证,这样对系统性能会有影响。
|
||
|
|
tokenExpiredSeconds: 60
|
||
|
|
# 第三方返回的权限数据的缓存过期时长,单位秒。
|
||
|
|
permExpiredSeconds: 86400
|
||
|
|
|
||
|
|
knife4j:
|
||
|
|
gateway:
|
||
|
|
enabled: true
|
||
|
|
strategy: manual
|
||
|
|
routes:
|
||
|
|
- name: 租户后台权限管理服务
|
||
|
|
url: /admin/upms/v3/api-docs?group=default
|
||
|
|
service-name: upms
|
||
|
|
order: 0
|
||
|
|
|
||
|
|
spring:
|
||
|
|
cloud:
|
||
|
|
gateway:
|
||
|
|
discovery:
|
||
|
|
locator:
|
||
|
|
enabled: false
|
||
|
|
lower-case-service-id: true
|
||
|
|
routes:
|
||
|
|
- id: common-report
|
||
|
|
uri: lb://upms
|
||
|
|
predicates:
|
||
|
|
- Path=/admin/report/**
|
||
|
|
- id: common-online
|
||
|
|
uri: lb://upms
|
||
|
|
predicates:
|
||
|
|
- Path=/admin/online/**
|
||
|
|
- id: common-flow
|
||
|
|
uri: lb://upms
|
||
|
|
predicates:
|
||
|
|
- Path=/admin/flow/**
|
||
|
|
- id: common-ext
|
||
|
|
uri: lb://upms
|
||
|
|
predicates:
|
||
|
|
- Path=/admin/commonext/**
|
||
|
|
- id: upms-captcha
|
||
|
|
uri: lb://upms
|
||
|
|
predicates:
|
||
|
|
- Path=/captcha/**
|
||
|
|
- id: common-mobile-upms
|
||
|
|
uri: lb://upms
|
||
|
|
predicates:
|
||
|
|
- Path=/admin/mobile/**
|
||
|
|
- id: upms
|
||
|
|
uri: lb://upms
|
||
|
|
predicates:
|
||
|
|
- Path=/admin/upms/**
|