Open pasicopan opened 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
登录之后的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