mirror of
https://github.com/dataease/dataease.git
synced 2026-05-21 12:45:37 +08:00
feat: 飞书扫码登录
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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/");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user