Skip to content

Commit ce08363

Browse files
committed
add index
1 parent b74d413 commit ce08363

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package org.joychou.controller;
2+
3+
4+
import org.springframework.stereotype.Controller;
5+
import org.springframework.web.bind.annotation.RequestMapping;
6+
import org.springframework.web.bind.annotation.ResponseBody;
7+
8+
9+
10+
/**
11+
* author: JoyChou ([email protected])
12+
* date: 2018.05.28
13+
* desc: Index Page
14+
*/
15+
16+
@Controller
17+
public class Index {
18+
@RequestMapping("/")
19+
@ResponseBody
20+
public static String index() {
21+
return "Welcome to java sec code home page by JoyChou([email protected])";
22+
}
23+
}

0 commit comments

Comments
 (0)