feat: add email verification

This commit is contained in:
Tim
2025-06-30 17:53:13 +08:00
parent aa6d32e7dd
commit 39179c370e
5 changed files with 62 additions and 7 deletions

View File

@@ -2,6 +2,7 @@ package com.openisle.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
@RestController
public class HelloController {
@@ -10,7 +11,7 @@ public class HelloController {
* -H "Authorization: Bearer <jwt-token>"
*/
@GetMapping("/api/hello")
public String hello() {
return "Hello, Authenticated User";
public Map<String, String> hello() {
return Map.of("message", "Hello, Authenticated User");
}
}