This commit is contained in:
Katerina881 2023-06-13 18:17:08 +04:00
parent fbc3160393
commit 80293b61d2
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ plugins {
group = 'ru.ulstu.is'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '19'
sourceCompatibility = '17'
repositories {
mavenCentral()

View File

@ -7,13 +7,14 @@ import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import ru.ulstu.is.sbapp.HardwareShop.models.UserRole;
import ru.ulstu.is.sbapp.HardwareShop.services.UserService;
import java.util.List;
import java.util.stream.IntStream;
@Controller
@RestController
@RequestMapping("/users")
public class UserMvcController {
private final UserService userService;