shawenguan 1 year ago
parent
commit
8ee932bd4b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Scripts/dingdong/dingdongHelper.js

+ 3 - 0
Scripts/dingdong/dingdongHelper.js

@@ -79,10 +79,13 @@ async function handlePointHomeData(){
     const cookie = request.headers.Cookie;
     const body = request.url.split('?')[1];
     // 获取UserId
+    magicJS.logger.info(cookie);
+    magicJS.logger.info('!!!!!!!!!!!!!!!!#1');
     const userId = await magicJS.utils.retry(getUserId, 3, 500)(cookie).catch(err => {
         magicJS.notification.post(err);
         magicJS.done();
     });
+    magicJS.logger.info('!!!!!!!!!!!!!!!!#2');
     let hisCookie = magicJS.data.read(dingDongCookieKey, "", userId);
     if (cookie !== hisCookie) {
         magicJS.data.write(dingDongCookieKey, cookie, userId);