shiro登录、拦截测试成功
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package top.fjy8018.shiro.controller;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
/**
|
||||
* 页面导航
|
||||
* @author F嘉阳
|
||||
* @date 2018/7/6 10:57
|
||||
*/
|
||||
@Controller
|
||||
public class NavController {
|
||||
|
||||
@RequestMapping("/index")
|
||||
public String index(){
|
||||
return "index";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user