terry-fei / wechat-bot

wechat web protocal, control personal wechat client to receive and send message
360 stars 85 forks source link

不能正确读取.cookie.json 的数据 #16

Open pasicopan opened 6 years ago

pasicopan commented 6 years ago

登录之后的cookie,能够正确解释并保存到cookie.json,但重新从文件读取就只能读到一对key value,我定位到是node-axios-cookiejar 里面,调用的request-interceptor-wrapper 有问题,request-interceptor-wrapper 里面的一句 const cookieString = local.jar.getCookieStringSync(config.url); cookieString 根据url 返回的cookie 就只剩下一对key value