GithubHelp home page GithubHelp logo

Comments (5)

XiaoHb233 avatar XiaoHb233 commented on August 17, 2024

熟悉,无法发起 PR,能否在

使用手机端的就也是移动端的cookie保活

from jdbuyer.

BelinChung avatar BelinChung commented on August 17, 2024

使用手机端的就也是移动端的cookie保活

目前是移动端扫码登陆web端,使用的是web端的协议,会存在频繁掉线(session有效期短)的问题

from jdbuyer.

zas023 avatar zas023 commented on August 17, 2024

感谢大佬提议,但考虑大部分用户只有一个终端,这样推送二维码的话,还得保存图片进行扫码,操作有些繁琐。
不知是否存在一些核心接口每次访问重置session有效期,然后使用定时任务定期保活。

from jdbuyer.

BelinChung avatar BelinChung commented on August 17, 2024

web jd 协议已经被改了,session有效期非常短,因为 pc web 不是京东核心用户入口,为了打击第三方程序,前一年还是2年直接把 session 有效期置了一个非常短的有效期,而且因为 pc web B/S 模式,肯定是不支持 refresh token 的,也没有这个必要。

推送二维码然后让用户扫码登陆,比我现在跑在服务器里方便太多了,因为没有 GHOME ,我现在都 sz Qrcode.png 出来扫码登陆

from jdbuyer.

FodderFish avatar FodderFish commented on August 17, 2024

我不到一小时就cookie失效了 监听到库存也无法下单

from jdbuyer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.