Commit b8e3992a by xue_wengang

Update http.js

parent 0b2d410a
......@@ -7,11 +7,11 @@ var arr = document.cookie.split("; ");
let userToken = "";
let appToken = "";
arr.forEach((item) => {
if (item.includes("userToken")) {
userToken = item.split("userToken")[1];
if (item.includes("userToken=")) {
userToken = item.split("userToken=")[1];
}
if (item.includes("appToken")) {
appToken = item.split("appToken")[1];
if (item.includes("appToken=")) {
appToken = item.split("appToken=")[1];
}
});
// debugger
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment