更新样例

This commit is contained in:
程序猿DD
2016-02-23 16:51:34 +08:00
parent b15acf2f12
commit 7c3bf31261
3 changed files with 41 additions and 3 deletions
@@ -0,0 +1,14 @@
package com.didispace.web;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloController {
@RequestMapping("/hello")
public String index() {
return "Hello World";
}
}