Update xtwly.js

This commit is contained in:
北慕白
2022-11-15 11:54:37 +08:00
committed by GitHub
parent 3cba93dd4e
commit 73bf6f2305
+1 -1
View File
@@ -90,7 +90,7 @@ async function start() {
// https://www.xtwtour.com/api/activity/normal/sign_in/get_sign_in_user // https://www.xtwtour.com/api/activity/normal/sign_in/get_sign_in_user
async function GetRewrite() { async function GetRewrite() {
if ($request.url.indexOf("activity/normal/sign_in/get_sign_in_user") > -1) { if ($request.url.indexOf("activity/normal/sign_in/get_sign_in_user") > -1) {
ck = $request.headers.user - login - tokenn; ck = $request.headers["user-login-token"];
if (ckStr) { if (ckStr) {
if (ckStr.indexOf(ck) == -1) { // 找不到返回 -1 if (ckStr.indexOf(ck) == -1) { // 找不到返回 -1
ckStr = ckStr + "@" + ck; ckStr = ckStr + "@" + ck;