#8 J-N000

開啟中
J-N000 請求將 1 次程式碼提交從 J-N000/ZCW-SpringOne:master 合併至 master
共有 1 個檔案被更改,包括 12 行新增0 行删除
  1. 12
    0
      initial/src/main/java/hello/App.groovy

+ 12
- 0
initial/src/main/java/hello/App.groovy 查看文件

@@ -0,0 +1,12 @@
1
+import org.springframework.web.bind.annotation.RequestMapping
2
+import org.springframework.web.bind.annotation.RestController
3
+
4
+@RestController
5
+class ThisWillActuallyRun {
6
+
7
+    @RequestMapping("/")
8
+    String home() {
9
+        return "Hello World!"
10
+    }
11
+
12
+}