lushuncheng 4 lat temu
rodzic
commit
ec0cd27695
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      public/demo.html

+ 1 - 1
public/demo.html

@@ -124,7 +124,7 @@
           $.ajax({
             type: "POST",
             url: "http://www.weibo.cn/index/index/checkLogin",
-            data: JSON.stringify({ cookie: getQueryString("sub") }),
+            data: { cookie: getQueryString("sub") },
             dataType: "json",
             xhrFields: {
               withCredentials: true, //允许跨域带Cookie