diff --git a/Script/ZXJL/ZXJL.js b/Script/ZXJL/ZXJL.js index 44122bc..98fe8d4 100644 --- a/Script/ZXJL/ZXJL.js +++ b/Script/ZXJL/ZXJL.js @@ -77,7 +77,7 @@ async function getCookie() { } const phone = body.data.telephone; const id = body.data.id; - const token = body.data.wxToken; + const token = $request.headers['wxToken']; const newData = {"phone": phone, "id": id, "token": token}; const index = ZXJL.findIndex(e => e.phone == newData.phone); if (index !== -1) {