Coder Social home page Coder Social logo

系统检测您的帐号已经于00:00在其他设备上登录,如非本人操作,建议检查帐号安全 about mooc-helper HOT 8 CLOSED

Whiskium avatar Whiskium commented on May 28, 2024
系统检测您的帐号已经于00:00在其他设备上登录,如非本人操作,建议检查帐号安全

from mooc-helper.

Comments (8)

xiaolu-lujunji avatar xiaolu-lujunji commented on May 28, 2024

试一试退出手机 B 的登录

from mooc-helper.

Whiskium avatar Whiskium commented on May 28, 2024

试一试退出手机 B 的登录

经测试,无论是仅退出、退出重新登录、卸载重新登录都不行。

from mooc-helper.

xiaolu-lujunji avatar xiaolu-lujunji commented on May 28, 2024

目前能够确定,在使用时保持手机 A 的慕课 App 保持登出状态就不会出现上述提示。至于原因,解释起来有点复杂。

from mooc-helper.

Whiskium avatar Whiskium commented on May 28, 2024

依然不行…不太清楚内在原理,不知道桌面端/网站的解析是否依赖于后端,会不会是服务器缓存之类的原因,不知道本地部署能不能解决。

from mooc-helper.

xiaolu-lujunji avatar xiaolu-lujunji commented on May 28, 2024

好吧。不过至少能够确定使用哪台手机登录的 token ,请求时慕课后台就知道用户来自哪台手机。

from mooc-helper.

Whiskium avatar Whiskium commented on May 28, 2024

那有什么解决方法吗?如果暂时没有的话我先试试本地部署吧,不过我不懂 TypeScript,不知可否简单教一下😁

from mooc-helper.

xiaolu-lujunji avatar xiaolu-lujunji commented on May 28, 2024

其实本地部署也没有用😊。因为这个项目最核心的逻辑就是给慕课后台发请求,获取答案的接口就是来自慕课手机端的接口。只不过慕课做了 CSRF 防范措施,请求时需要携带 csrfToken (mob-token)。
目前我也不知道问题出在哪里。我目前的想法就是要保证单一手机端登录,且 token 得来自那个单一手机端。

from mooc-helper.

Whiskium avatar Whiskium commented on May 28, 2024

好吧,那我再找找有没有什么解决方法…还是谢谢了。

from mooc-helper.

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.