mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
修复书写错误之处
This commit is contained in:
parent
f5fe7897ee
commit
b4cec9d854
@ -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>"
|
||||
|
@ -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/>"
|
||||
|
Loading…
Reference in New Issue
Block a user