Skip to content

Commit

Permalink
fix 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bwcx-jzy committed Mar 29, 2021
1 parent cd9f02b commit 00945f9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public String authorize() {
* @return page
*/
@RequestMapping(value = {"index", "", "index.html", "/"}, method = RequestMethod.GET, produces = MediaType.TEXT_HTML_VALUE)
@NotLogin
public String index(final Model model, HttpServletRequest request) {
// if (userService.userListEmpty()) {
// getSession().invalidate();
Expand All @@ -83,7 +84,7 @@ public String index(final Model model, HttpServletRequest request) {
*
* @return page
*/
@RequestMapping(value = {"old", "", "old.html"}, method = RequestMethod.GET, produces = MediaType.TEXT_HTML_VALUE)
@RequestMapping(value = {"old", "old.html"}, method = RequestMethod.GET, produces = MediaType.TEXT_HTML_VALUE)
public String oldIndex() {
if (userService.userListEmpty()) {
getSession().invalidate();
Expand Down

0 comments on commit 00945f9

Please sign in to comment.