feat: 飞书扫码登录

This commit is contained in:
fit2cloud-chenyw
2023-11-22 22:32:10 +08:00
parent a8e9cc8843
commit 076e3ced48
6 changed files with 44 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ public class HttpClientUtil {
public static String post(String url, String json, HttpClientConfig config) {
CloseableHttpClient httpClient = null;
try {
buildHttpClient(url);
httpClient = buildHttpClient(url);
HttpPost httpPost = new HttpPost(url);
if (config == null) {
config = new HttpClientConfig();

View File

@@ -19,6 +19,8 @@ public class WhitelistUtils {
"/swagger-resources",
"/doc.html",
"/panel.html",
"/lark/info",
"/lark/token",
"/setting/authentication/status",
"/");
@@ -34,6 +36,7 @@ public class WhitelistUtils {
|| StringUtils.startsWithAny(requestURI, "/static-resource/")
|| StringUtils.startsWithAny(requestURI, "/share/proxyInfo")
|| StringUtils.startsWithAny(requestURI, "/xpackComponent/content/")
|| StringUtils.startsWithAny(requestURI, "/platform/")
|| StringUtils.startsWithAny(requestURI, "/map/");
}
}