Browse Source

词云token

natasha 1 year ago
parent
commit
b669fa70e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/ciyun/ciyunindex.html

+ 1 - 1
public/ciyun/ciyunindex.html

@@ -399,7 +399,7 @@
         if (end == -1) {
         if (end == -1) {
             end = document.cookie.length;
             end = document.cookie.length;
         }
         }
-        var AccessToken = JSON.parse(unescape(document.cookie.substring(start + prefix.length, end))).access_token
+        var AccessToken = JSON.parse(localStorage.getItem('GCLS_Token')).access_token
         arr.forEach((item) => {
         arr.forEach((item) => {
             if (item.split("=")[0] == "partitionKey") {
             if (item.split("=")[0] == "partitionKey") {
                 partitionKey = item.split("=")[1];
                 partitionKey = item.split("=")[1];