修复书写错误之处

This commit is contained in:
shengzhang 2021-05-16 22:51:50 +08:00
parent f5fe7897ee
commit b4cec9d854
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ public class TestController {
// 浏览器访问测试 http://localhost:8081
@RequestMapping({"/"})
public String login(String username, String password) {
public String index() {
String str = "<br />"
// + "<h1 style='text-align: center;'>Welcome to the system</h1>"
+ "<h1 style='text-align: center;'>资源页 (登录后才可进入本页面) </h1>"

View File

@ -76,7 +76,7 @@ public class SaTokenQuickDemoApplication {
public class TestController {
// 浏览器访问测试: http://localhost:8081
@RequestMapping({"/", "/index"})
public String login(String username, String password) {
public String index() {
String str = "<br />"
+ "<h1 style='text-align: center;'>资源页 (登录后才可进入本页面) </h1>"
+ "<hr/>"