|
|
@@ -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);
|