This commit is contained in:
齐天大圣 2024-03-27 10:12:45 +08:00
parent 2e0049712d
commit f4809f753d

View File

@ -53,6 +53,7 @@
let staffId = "";
let userId = "";
let type = "";
let sn = "";
if (str.includes("&")) {
let arr = str.split("&");
arr.forEach(item => {
@ -64,6 +65,8 @@
userId = item.split("=")[1]
} else if (item.includes("type")) {
type = item.split("=")[1]
} else {
sn = item.split("=")[1]
}
})
} else {