1
This commit is contained in:
parent
0617caa6b6
commit
cb08d6a9ca
@ -3,7 +3,6 @@ package com.example.demo;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
@ -16,7 +15,6 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/api")
|
@RequestMapping("/api")
|
||||||
public class ApiController {
|
public class ApiController {
|
||||||
private final Logger log = LoggerFactory.getLogger(ApiController.class);
|
|
||||||
List<UserInfo> objects = new ArrayList<>();
|
List<UserInfo> objects = new ArrayList<>();
|
||||||
|
|
||||||
@GetMapping
|
@GetMapping
|
||||||
|
Loading…
Reference in New Issue
Block a user