From 7193ee08c95ebcaf0286a410b3e8906f8acde9b5 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期日, 25 六月 2023 22:20:27 +0800 Subject: [PATCH] update 优化 satoken 使用 loginType 分离登录用户 --- ruoyi-admin/src/main/resources/application-prod.yml | 68 ++++++++++++++++++++++++++++++++- 1 files changed, 65 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml index 1928c5b..0dc27b0 100644 --- a/ruoyi-admin/src/main/resources/application-prod.yml +++ b/ruoyi-admin/src/main/resources/application-prod.yml @@ -14,15 +14,16 @@ --- # powerjob 閰嶇疆 powerjob: worker: - enabled: true - # 闇�瑕佺幇鍦╬owerjob鐧诲綍椤垫墽琛屽簲鐢ㄦ敞鍐屽悗鎵嶈兘浣跨敤 + # 濡備綍寮�鍚皟搴︿腑蹇冭鏌ョ湅鏂囨。鏁欑▼ + enabled: false + # 闇�瑕佸厛鍦� powerjob 鐧诲綍椤垫墽琛屽簲鐢ㄦ敞鍐屽悗鎵嶈兘浣跨敤 app-name: ruoyi-worker enable-test-mode: false max-appended-wf-context-length: 4096 max-result-length: 4096 port: 27777 protocol: http - server-address: 127.0.0.1:7700,127.0.0.1:7701 + server-address: 127.0.0.1:7700 store-strategy: disk --- # 鏁版嵁婧愰厤缃� @@ -179,3 +180,64 @@ sdkAppId: appid #鍦板煙淇℃伅榛樿涓� ap-guangzhou 濡傛棤鐗规畩鏀瑰彉鍙笉鐢ㄨ缃� territory: ap-guangzhou + +--- # 涓夋柟鎺堟潈 +justauth: + enabled: true + type: + qq: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=qq + union-id: false + weibo: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=weibo + gitee: + client-id: 914******************98 + client-secret: 02*****************ac + redirect-uri: http://localhost:80/social-login?source=gitee + dingtalk: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=dingtalk + baidu: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=baidu + csdn: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=csdn + coding: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=coding + coding-group-name: xx + oschina: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=oschina + alipay: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=alipay + alipay-public-key: MIIB**************DAQAB + wechat_open: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=wechat_open + wechat_mp: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=wechat_mp + wechat_enterprise: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=wechat_enterprise + agent-id: 1000002 + gitlab: + client-id: 10**********6 + client-secret: 1f7d08**********5b7**********29e + redirect-uri: http://localhost:80/social-login?source=gitlab -- Gitblit v1.9.3