代码提交--标签相关

This commit is contained in:
2020-09-27 17:35:31 +08:00
parent ba3c813106
commit fde1079d74
30 changed files with 788 additions and 290 deletions
@@ -10,22 +10,22 @@ import org.springframework.web.bind.annotation.RequestMapping;
public class TestController {
/**
* 登录页面跳转
*
* @return
*/
@GetMapping("loginpage")
public String loginpage() {
return "login";
return "login";
}
@RequestMapping("/world")
public String world(Map<String, Object> model) {
model.put("data","2019");
model.put("data", "2019");
// request.setAttribute("name", "xxxxxxxxx");
model.put("msg", "xxxxxxx2222xx");
model.put("msg", "xxxxxxx2222xx");
return "world";
}