From 525921c129962391d513394f8a248c3f95f3a82e Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期四, 13 七月 2023 15:50:31 +0800
Subject: [PATCH] add 增加 gitee 与 maxkey 默认可用配置

---
 ruoyi-admin/src/main/resources/application-prod.yml |   12 +++++++-----
 ruoyi-admin/src/main/resources/application-dev.yml  |   12 +++++++-----
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml
index fbd134f..0b1d005 100644
--- a/ruoyi-admin/src/main/resources/application-dev.yml
+++ b/ruoyi-admin/src/main/resources/application-dev.yml
@@ -182,13 +182,15 @@
 --- # 涓夋柟鎺堟潈
 justauth:
   enabled: true
+  # 鍓嶇澶栫綉璁块棶鍦板潃
   address: http://localhost:80
   type:
     maxkey:
       # maxkey 鏈嶅姟鍣ㄥ湴鍧�
-      server-url: http://localhost:8080
-      client-id: 10**********6
-      client-secret: 1f7d08**********5b7**********29e
+      # 娉ㄦ剰 濡備笅鍧囬厤缃潎涓嶉渶瑕佷慨鏀� maxkey 宸茬粡鍐呯疆濂戒簡鏁版嵁
+      server-url: http://sso.maxkey.top
+      client-id: 876892492581044224
+      client-secret: x1Y5MTMwNzIwMjMxNTM4NDc3Mzche8
       redirect-uri: ${justauth.address}/social-callback?source=maxkey
     qq:
       client-id: 10**********6
@@ -200,8 +202,8 @@
       client-secret: 1f7d08**********5b7**********29e
       redirect-uri: ${justauth.address}/social-callback?source=weibo
     gitee:
-      client-id: 914******************98
-      client-secret: 02*****************ac
+      client-id: 91436b7940090d09c72c7daf85b959cfd5f215d67eea73acbf61b6b590751a98
+      client-secret: 02c6fcfd70342980cd8dd2f2c06c1a350645d76c754d7a264c4e125f9ba915ac
       redirect-uri: ${justauth.address}/social-callback?source=gitee
     dingtalk:
       client-id: 10**********6
diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml
index 5cbe552..4f3838c 100644
--- a/ruoyi-admin/src/main/resources/application-prod.yml
+++ b/ruoyi-admin/src/main/resources/application-prod.yml
@@ -184,13 +184,15 @@
 --- # 涓夋柟鎺堟潈
 justauth:
   enabled: true
+  # 鍓嶇澶栫綉璁块棶鍦板潃
   address: http://localhost:80
   type:
     maxkey:
       # maxkey 鏈嶅姟鍣ㄥ湴鍧�
-      server-url: http://localhost:8080
-      client-id: 10**********6
-      client-secret: 1f7d08**********5b7**********29e
+      # 娉ㄦ剰 濡備笅鍧囬厤缃潎涓嶉渶瑕佷慨鏀� maxkey 宸茬粡鍐呯疆濂戒簡鏁版嵁
+      server-url: http://sso.maxkey.top
+      client-id: 876892492581044224
+      client-secret: x1Y5MTMwNzIwMjMxNTM4NDc3Mzche8
       redirect-uri: ${justauth.address}/social-callback?source=maxkey
     qq:
       client-id: 10**********6
@@ -202,8 +204,8 @@
       client-secret: 1f7d08**********5b7**********29e
       redirect-uri: ${justauth.address}/social-callback?source=weibo
     gitee:
-      client-id: 914******************98
-      client-secret: 02*****************ac
+      client-id: 91436b7940090d09c72c7daf85b959cfd5f215d67eea73acbf61b6b590751a98
+      client-secret: 02c6fcfd70342980cd8dd2f2c06c1a350645d76c754d7a264c4e125f9ba915ac
       redirect-uri: ${justauth.address}/social-callback?source=gitee
     dingtalk:
       client-id: 10**********6

--
Gitblit v1.9.3