Nav修改

This commit is contained in:
2023-12-26 18:15:04 +08:00
parent ac6e84bb06
commit 5fdda5bdb6
5 changed files with 9 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.HashMap;
import java.util.List;
@RestController
public class NavController {
@@ -36,7 +37,7 @@ public class NavController {
}
@RequestMapping("/selectAllNav")
public HashMap<Integer, Object> selectAllNav(){
public List<Nav> selectAllNav(){
return navService.selectAllNav();
}