fix: demo
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package org.nl.setting.modular.controller;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @Author: lyd
|
||||
* @Date: 2025/11/21
|
||||
*/
|
||||
|
||||
@RequestMapping("/api")
|
||||
@RestController
|
||||
public class TestController {
|
||||
|
||||
@GetMapping("/")
|
||||
public ResponseEntity<Object> PressedMonitor() {
|
||||
return new ResponseEntity<>("aaa", HttpStatus.OK);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user