tamguo 7 years ago
parent f6c1eb3d1f
commit 4b96e82736

@ -1,10 +1,8 @@
package com.tamguo.modules.tiku.web; package com.tamguo.modules.tiku.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.ModelAndView;
import com.tamguo.modules.tiku.service.IBookService;
@Controller @Controller
@RequestMapping(path="tiku/book") @RequestMapping(path="tiku/book")
@ -13,9 +11,6 @@ public class BookController {
/** 书籍*/ /** 书籍*/
private final String BOOK_LIST_PAGE = "modules/tiku/book/list"; private final String BOOK_LIST_PAGE = "modules/tiku/book/list";
@Autowired
private IBookService iBookService;
@RequestMapping(path="list") @RequestMapping(path="list")
public ModelAndView index(ModelAndView model) { public ModelAndView index(ModelAndView model) {
model.setViewName(BOOK_LIST_PAGE); model.setViewName(BOOK_LIST_PAGE);

Loading…
Cancel
Save