mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-10 00:51:00 +08:00
17 lines
410 B
Java
17 lines
410 B
Java
package com.openisle.controller;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* Simple admin demo endpoint.
|
|
*/
|
|
@RestController
|
|
public class AdminController {
|
|
@GetMapping("/api/admin/hello")
|
|
public Map<String, String> adminHello() {
|
|
return Map.of("message", "Hello, Admin User");
|
|
}
|
|
}
|