lushuncheng 4 năm trước cách đây
mục cha
commit
ec0cd27695
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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