🔧Chore: 项目初始化
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.wonderland.stardewvalley.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("health")
|
||||
public class HealthController {
|
||||
|
||||
@GetMapping("/ping")
|
||||
public String healthTest() {
|
||||
return "Welcome to Stardew Valley!";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user