mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-07 07:30:54 +08:00
14 lines
368 B
Java
14 lines
368 B
Java
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 {
|
|
@GetMapping("/api/hello")
|
|
public Map<String, String> hello() {
|
|
return Map.of("message", "Hello, Authenticated User");
|
|
}
|
|
}
|