natasha 1 год назад
Родитель
Сommit
b669fa70e7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/ciyun/ciyunindex.html

+ 1 - 1
public/ciyun/ciyunindex.html

@@ -399,7 +399,7 @@
         if (end == -1) {
             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) => {
             if (item.split("=")[0] == "partitionKey") {
                 partitionKey = item.split("=")[1];