✅Test: 增加 Controller 测试

This commit is contained in:
2025-10-18 10:49:06 +08:00
parent 287c797f4a
commit 1383f48096
@@ -0,0 +1,15 @@
package cn.hezhaohui.thumb.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
public String health() {
return "Hello! This is my wonderland.";
}
}