fengchang 1 year ago
parent
commit
b0c11665cb

+ 2 - 2
hichina-main-back/src/main/java/com/hichina/main/back/hichinamainback/utils/FacebookAccessTokenValidator.java

@@ -26,10 +26,10 @@ public class FacebookAccessTokenValidator {
         // Define the proxy server details
         String proxyHost = "127.0.0.1";
         System.setProperty("https.protocols", "TLSv1,TLSv1.1,TLSv1.2");
-        
+
         int proxyPort = Integer.parseInt(env.getProperty("gfw.proxy.port"));
         // Define the target URL
-        String targetUrl = "https://graph.facebook.com/v14.0/me?access_token="+accessToken;
+        String targetUrl = GRAPH_API_URL+accessToken;
         // Create a Proxy object with the proxy server details
         Proxy proxy = new Proxy(Proxy.Type.SOCKS, new InetSocketAddress(proxyHost, proxyPort));
         // Create a URL object with the target URL

+ 1 - 1
hichina-main-front/src/components/Login.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-form
+  <el-form v-loading="loading"
     class="login-form"
     :model="model"
     ref="form"