zhenyutu / jblog Goto Github PK
View Code? Open in Web Editor NEWSpringboot+MyBatis+MySQL实现多功能个人博客系统
Home Page: http://www.tuzhenyu.top
Springboot+MyBatis+MySQL实现多功能个人博客系统
Home Page: http://www.tuzhenyu.top
if(loginTicket == null || loginTicket.getExpired().before(new Date())||loginTicket.getStatus()!=0){
return true;
}
User user = userRepository.findById(loginTicket.getUserId()).get();
hostHouder.setUser(user);
}
这个return true应该是return false吧,否则全部的页面都不需要登陆了。
作者你好,按照你的配置 资源访问不到
@controller
public class HelloController {
@RequestMapping("/hello")
public String hello(Map<String,Object> map){
map.put("name", "[hello word");
return "hello";
}
}
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Mon Mar 05 15:46:21 CST 2018
There was an unexpected error (type=Internal Server Error, status=500).
Circular view path [hello]: would dispatch back to the current handler URL [/hello/hello] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.