spring mvc base init

This commit is contained in:
罗祥
2018-12-18 13:45:53 +08:00
parent d28b49db9f
commit c54d520737
17 changed files with 324 additions and 0 deletions

View File

@ -0,0 +1,19 @@
package com.heibaiying.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* @author : heibaiying
* @description : hello spring
*/
@Controller
@RequestMapping("mvc")
public class HelloController {
@RequestMapping("hello")
private String hello() {
return "hello";
}
}