lushuncheng 4 년 전
부모
커밋
ec0cd27695
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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