From ff32e77858b2d95b180b80308601c6d15d457393 Mon Sep 17 00:00:00 2001 From: blackmatrix7 <27717518+blackmatrix7@users.noreply.github.com> Date: Wed, 12 May 2021 09:41:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=96=B0=E7=89=88=E4=B8=87?= =?UTF-8?q?=E8=BE=BE=E7=94=B5=E5=BD=B1=E8=8E=B7=E5=8F=96Cookie=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=20close=20#330?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/wanda/wanda_checkin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/wanda/wanda_checkin.js b/script/wanda/wanda_checkin.js index d06b7bcfc..ae87d2948 100644 --- a/script/wanda/wanda_checkin.js +++ b/script/wanda/wanda_checkin.js @@ -1,5 +1,5 @@ const scriptName = '万达电影'; -const getCookieRegex = /https?:\/\/user\-api\-prd\-mx\.wandafilm\.com\/user\/query_user_level\.api/; +const getCookieRegex = /https?:\/\/user\-api\-prd\-mx\.wandafilm\.com\/user\/query_user_level_tip\.api/; const getactivityCodeRegex = /https?:\/\/cms\-activity\-api\-prd\-mx\.wandafilm\.com\/activity\/activity_count\.api\?activityCode=(\d*)/; const cookieKey = 'wanda_checkin_cookie'; const activityCodeKey = 'wanda_activitycode'; @@ -200,7 +200,7 @@ function lottery(cookie, ts, checkVal, activityCode) { hisCookie = !!hisCookie ? hisCookie : {}; if (cookie['_mi_'] != hisCookie['_mi_']){ magicJS.write(cookieKey, cookie); - magicJS.logInfo(`旧的Cookie:${hisCookie}\n新的Cookie:${cookie}\nCookie不同,写入新的Cookie成功!`); + magicJS.logInfo(`旧的Cookie:${JSON.stringify(hisCookie)}\n新的Cookie:${JSON.stringify(cookie)}\nCookie不同,写入新的Cookie成功!`); magicJS.notify('Cookie写入成功!!'); } else{