Git Product home page Git Product logo

Comments (5)

zhoutaoo avatar zhoutaoo commented on May 18, 2024

这个接口是根据用户唯一 id 查询用户信息,只该token有 /user?uniqueId=?的权限 就可以查询到,场景 比如,用户登陆时,根据用户名查询 用户账号信息

from springcloud.

wenyangchou avatar wenyangchou commented on May 18, 2024

如果使用zhoutaoo 进行认证取得的token,去调用/user?uniqueId=admin 也可以调用成功。用户与用户之间的信息是完全透明的

from springcloud.

wenyangchou avatar wenyangchou commented on May 18, 2024

我觉得这个接口不应该主动调用,而是后台通过解析token获得uniqueId

from springcloud.

zhoutaoo avatar zhoutaoo commented on May 18, 2024

那就要看 zhoutaoo 这个用户有没有这个接口的权限,如果有权限,就是应该查到,如果没有,那接口是不能访问的

from springcloud.

zhoutaoo avatar zhoutaoo commented on May 18, 2024

我觉得这个接口不应该主动调用,而是后台通过解析token获得uniqueId

登陆的时候 没有token ,同学

from springcloud.

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.