From 038c0b87b9d4c45e90b4fa4713ed27427431b820 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 30 Oct 2021 09:43:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BE=AE=E4=BF=A1=E7=99=BB?= =?UTF-8?q?=E9=99=86=E7=9A=84=E6=B5=8B=E8=AF=95=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-local.yaml | 4 ++- .../main/resources/static/social-login.html | 36 +++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 yudao-user-server/src/main/resources/static/social-login.html diff --git a/yudao-user-server/src/main/resources/application-local.yaml b/yudao-user-server/src/main/resources/application-local.yaml index 24e633132..1e904c3ee 100644 --- a/yudao-user-server/src/main/resources/application-local.yaml +++ b/yudao-user-server/src/main/resources/application-local.yaml @@ -160,9 +160,11 @@ yudao: justauth: enabled: true type: - WECHAT_MP: # 微信公众平台 - 移动端H5 https://mp.weixin.qq.com/debug/cgi-bin/sandboxinfo?action=showinfo&t=sandbox/index + WECHAT_MP: # 微信公众平台 - 移动端 H5 https://www.yuque.com/docs/share/a795bef6-ee8a-494a-8dc4-2ef41927743b?#%20%E3%80%8A%E5%BE%AE%E4%BF%A1%E5%85%AC%E4%BC%97%E5%8F%B7%E6%B5%8B%E8%AF%95%E3%80%8B client-id: wxa5a05b85ac361f96 client-secret: 247073c7cebb67f27f0e769195c2a57e +# client-id: wx5b23ba7a5589ecbb # TODO 芋艿:自己的测试,后续可以删除 +# client-secret: 2a7b3b20c537e52e74afd395eb85f61f ignore-check-redirect-uri: true extend: enum-class: cn.iocoder.yudao.coreservice.modules.system.compent.justauth.AuthExtendSource diff --git a/yudao-user-server/src/main/resources/static/social-login.html b/yudao-user-server/src/main/resources/static/social-login.html new file mode 100644 index 000000000..2570d7084 --- /dev/null +++ b/yudao-user-server/src/main/resources/static/social-login.html @@ -0,0 +1,36 @@ + + + + + + 社交登陆测试页 + + + +
点击如下按钮,发起登陆的测试
+
+ +
+ + +