From 93430938a25ab3d4e218a2198ae1b24a516f6382 Mon Sep 17 00:00:00 2001 From: zhouxiantao <1026371446@qq.com> Date: Tue, 17 Jun 2025 17:31:15 +0800 Subject: [PATCH] freat:粤政易相关代码 --- dyh-gateway/src/main/resources/config/application.yml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/dyh-gateway/src/main/resources/config/application.yml b/dyh-gateway/src/main/resources/config/application.yml new file mode 100644 index 0000000..e2981ce --- /dev/null +++ b/dyh-gateway/src/main/resources/config/application.yml @@ -0,0 +1,58 @@ +#spring配置 +spring: + profiles: + active: +# - dev + - test +# - prod + cloud: + gateway: + discovery: + locator: + enabled: true + lower-case-service-id: true + main: + allow-bean-definition-overriding: true + +#debug: true +server: + tomcat: + min-spare-threads: 100 + max-threads: 256 + connection-timeout: 8000 + servlet: + context-path: / + ssl: + enabled: false + +#management配置 +management: + endpoint: + health: + show-details: always + endpoints: + web: + exposure: + include: "*" + +#JWT配置 +jwt: + #jwt生成密钥 + secret-key: asdfghjkl + #用户 + iss-user: HUGEINFO + refresh-token-key: + #refreshToken 存储key + format: JWT_REFRESH_TOKEN::%s + blacklist-key: + #token黑名单 存储key + format: JWT_BLACKLIST::%s + token: + #token过期时间:12小时 + expire-time: 43200000 + refresh-token: + #refreshToken过期时间:13小时,比token时间长一点 + expire-time: 46800000 + #不进行token拦截 + auth-skip-urls: /dyh-cust/api/web/ctAccount/login,/dyh-sys/api/v1/sync/universalSync,/dyh-utils/api/web/caseUtils/getNewTimeId,/dyh-utils/api/web/caseUtils/getNewTimeCaseId,/dyh-sys/api/web/fileInfo/show,/dyh-sys/api/web/fileInfo/down,/dyh-sys/api/wechat/fileInfo/show,/dyh-sys/api/wechat/fileInfo/down,/dyh-cust/api/wechat/paAccount/empower,/dyh-cust/api/web/ctAccount/gridLogin,/dyh-mediate/api/web/caseInfo/exportQueryAll,/gzdyh-test-mediate/api/web/caseInfo/exportQueryAll,/gzdyh-mediate/api/web/caseInfo/exportQueryAll,/dyh-mediate/api/web/caseInfo/exportOverview,/gzdyh-mediate/api/web/caseInfo/exportOverview,/gzdyh-test-mediate/api/web/caseInfo/exportOverview,/dyh-mediate/api/web/caseInfo/exportStatisticsArea,/gzdyh-mediate/api/web/caseInfo/exportStatisticsArea,/gzdyh-test-mediate/api/web/caseInfo/exportStatisticsArea + -- Gitblit v1.8.0