|
@@ -71,10 +71,10 @@ const getUrlArgObject = function getQueryString(name) {
|
|
|
}
|
|
|
|
|
|
const post = function (url, data) {
|
|
|
- const token = getCookie('accessToken')
|
|
|
- if(!token&&window.location.href.indexOf('login')==-1){
|
|
|
- window.location.href = "../login.html"
|
|
|
- }
|
|
|
+// const token = getCookie('accessToken')
|
|
|
+// if(!token&&window.location.href.indexOf('login')==-1){
|
|
|
+// window.location.href = "../login.html"
|
|
|
+// }
|
|
|
return new Utils((resolve, reject) => {
|
|
|
$.ajax({
|
|
|
method: 'post',
|