This commit is contained in:
yuzchen 2024-01-24 13:31:27 +08:00
parent 8a81a280b2
commit 5a3d150164
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
public class GreetingController {
private static final String TEMPLATE = "Hello dear, %s!";
private static final String TEMPLATE = "Hello my dear, %s!";
@GetMapping("/greeting")
public String greeting(@RequestParam(value = "name", defaultValue = "World") String name) {