mirror of
https://github.com/201206030/novel.git
synced 2025-09-14 05:02:43 +00:00
首页访问优化
This commit is contained in:
@@ -31,7 +31,7 @@ public class IndexController {
|
||||
|
||||
|
||||
|
||||
@RequestMapping(value = {"/index.html","/","/books","/books/index.html"})
|
||||
@RequestMapping(value = {"/index.html","/","/books","/book","/book/index.html"})
|
||||
public String index(ModelMap modelMap){
|
||||
List<Book> recBooks = (List<Book>) commonCacheUtil.getObject(CacheKeyConstans.REC_BOOK_LIST_KEY);
|
||||
if (!indexRecBooksConfig.isRead() || recBooks == null) {
|
||||
|
Reference in New Issue
Block a user