Nav修改
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user