GithubHelp home page GithubHelp logo

很好奇 about javaquarkbbs HOT 4 CLOSED

chinalhr avatar chinalhr commented on May 17, 2024
很好奇

from javaquarkbbs.

Comments (4)

ChinaLHR avatar ChinaLHR commented on May 17, 2024

@cgnq 在使用@configuration注解的配置类中,@bean注解会告诉Spring这个方法将会返回一个对象, 该对象要注册为Spring应用上下文中的bean。 方法体中包含了最终产生bean实例的逻辑。

By Spring In Action

from javaquarkbbs.

cgnq avatar cgnq commented on May 17, 2024

这样,另外请教一个问题,我用了你的shiro的配置,登录还有登出也是用你的controller,后台UI用的layui,但每第一次登录都会不成功,页面刷新一下,还在登录页面。
image
login方法是200但是没有跳转

from javaquarkbbs.

ChinaLHR avatar ChinaLHR commented on May 17, 2024

@cgnq 这个应该是登录成功后shiro会去session中找出之前的保存的请求进行跳转,如果没有保存才会跳转到配置的successUrl导致的,有时间我再去修复一下

from javaquarkbbs.

cgnq avatar cgnq commented on May 17, 2024

@ChinaLHR 感谢回复,这个问题我找到了,是前端用ajax异步请求,后端未返回,导致前端js直接返回false造成的,框架非常不错。持续关注

from javaquarkbbs.

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.