main
parent
9b12e12f96
commit
3b57322ef5
@ -1,20 +0,0 @@
|
|||||||
package com.xydl.controller;
|
|
||||||
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
import org.springframework.stereotype.Controller;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
|
|
||||||
|
|
||||||
@Controller
|
|
||||||
@Slf4j
|
|
||||||
public class TestController {
|
|
||||||
|
|
||||||
@RequestMapping("/test")
|
|
||||||
@ResponseBody
|
|
||||||
public String test() {
|
|
||||||
log.info("===");
|
|
||||||
return "测试成功";
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en" >
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Title</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1> ${list}</h1>
|
|
||||||
<h1> ${name}</h1>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
Reference in New Issue